Xymon Mailing List Archive search

DURATION tag

list Henrik Størner
Mon, 14 Mar 2005 23:20:45 +0100
Message-Id: <user-bee181777eae@xymon.invalid>

On Mon, Mar 14, 2005 at 05:06:20PM -0500, user-fd47fec4b039@xymon.invalid wrote:
I'm not sure the duration tag is working correctly in the hobbit-alerts.cfg
setup. I have tests like I/O and CPU that will spike for a short time and I
wanted to eliminate the email notifications for those spikes. I set the
DURATION tag for 10 or 20 minutes like this:


HOST=$SERVER1
        MAIL $SYSADMIN COLOR=red EXSERVICE=msgs,cpu,http,webContent
REPEAT=30m RECOVERED
        MAIL $SYSADMIN COLOR=red SERVICE=cpu DURATION>20 REPEAT=30m
RECOVERED
The messages you get - are they alert messages or recovery messages?

I suppose you're running RC5 plus the patch I sent you for the
duplicate recovery messages ?


Regards,
Henrik