On 7/23/14 1:39 PM, Paul Theodoropoulos wrote:
I'd be awfully surprised if I've found a bug, but I'm fully at a loss at this point.

And no sooner than I wrote this, did I realize the error of my ways:

Was:
alert [email protected] with reminder on 5 cycle
alert [email protected] with reminder on 5 cycle
check program bucardo-monitor with path /usr/local/bin/bucardo.monitor
with timeout 3 seconds
if status = 0 then alert

NO! The alert declaration needs to be within the check!

check program bucardo-monitor with path /usr/local/bin/bucardo.monitor
with timeout 3 seconds
alert [email protected] with reminder on 5 cycle
alert [email protected] with reminder on 5 cycle
if status = 0 then alert

Now it works. Whew. PEBCAK.

--
Paul Theodoropoulos
www.anastrophe.com

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to