[hobbit] No pages when going from yellow to red

Henrik Stoerner henrik at hswn.dk
Tue Nov 1 23:36:45 CET 2005


On Tue, Nov 01, 2005 at 05:25:33PM -0500, Larry.Barber at usda.gov wrote:
> If you use separate rules for yellow and red alerts, say a
> hobbit-alerts.cfg that looked something like:
> 
> HOST a_host:
> 	MAIL xxxx at yyy.com COLOR=red DELAY=0 REPEAT=30m RECOVERED
> 	MAIL xxxx at yyy.com COLOR=yellow DELAY=0 REPEAT=30m RECOVERED
> 
> would you then get a separate email when the condition turned red at
> 22:45 below?

No, and that might be something that could change. The repeat-
checking code currently identifies an alert by the combination
of hostname, servicename and recipient; I could easily change
that so a separate line in the config-file would result in a new
set of repeat-checks. 


> >   22:05 Test goes yellow - alert (yellow) is sent 
> >   22:35 Test still yellow - repeat alert (yellow) is sent 
> >   22:45 Test goes red. No alert is sent because it is only 10 minutes 
> >         since the last alert went out. 
> >   23:05 Test still red - now an alert (red) is sent.


Regards,
Henrik




More information about the Xymon mailing list