Another alert rules question

Lowery, Michael mlowery at alliedtechgroup.com
Wed Jun 29 21:14:50 CEST 2005


Can you have two duration directives, like this?  I've been looking for
a way to stop notifications after a period of time, is this the answer?

MAIL me at myserver.com DURATION>10 DURATION<120

Thanks,
Michael
-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk] 
Sent: Wednesday, June 29, 2005 1:56 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Alert rules

On Wed, Jun 29, 2005 at 01:27:45PM -0400, Killenbeck, Alan wrote:

> I've been asked to try to make alerts only send 2 emals, at most, and
> still send a RECOVERED message when things recover.
> As a quick test, I set DURATION<30, and REPEAT=15, and after forcing a
> service down, for over an hour, achieved the
> two email alerts - but after bringing the service back up, did not get
> sent a recovered message.

Hmm - hadn't thought about that. I'd say it ought to work, but looking 
at the way recovery messages are handled it seems you're right - if the
max. duration has been reached, the recovery message is never sent.

It's a bug. Will fix.


Regards,
Henrik


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk






More information about the Xymon mailing list