Does anyone have a working example for the :disk_usage condition? The
included tests pass, but under live use it seems to return OK no
matter what the actual disk use is. Here's my current config:
God.watch do |w|
w.name = "disk-usage"
w.start = "/bin/true"
w.lifecycle do |on|
on.condition(:disk_usage) do |c|
c.notify = 'developers'
c.interval = 5.minutes
c.mount_point = "/"
c.above = 80
end
end
end
I've also tried attaching that condition to another watch (one
monitoring a running process) and got identical results. I think this
question has come up on the list before... has anyone been able to use
the disk_usage condition as it was intended?
Thanks,
j