poll period missed assign yellow
I have been trying to google as well as searching the mailing list on how to do this and I am having trouble finding a suitable answer short of writing my own ping script.
I have a bunch of gear that my clients have access to and reboot/work on. It is getting to the point where alerts are going off all day long due to these "false positives." I have tried to configure wait times in hobbit-alerts.cfg however, different machines and different OSes boot at different speeds.
I would like to be able to have it so that when a piece of gear misses a poll, it goes yellow if it misses three then go red.
Thanks so much for the help.
Stephen
On 23-03-2012 22:00, Stephen Flanagan wrote:
I have a bunch of gear that my clients have access to and reboot/work on. [snip] I would like to be able to have it so that when a piece of gear misses a poll, it goes yellow if it misses three then go red.
Use "delayred=conn:15" - that will make the "conn" status stay green until a red status has been reported for 15 minutes. It won't go yellow initially, but at least you won't have the alarms going off.
Note: "delayred" was introduced in the 4.3.5 release. Prior to that, you could use the "bad" flag to achieve the same. See the hosts.cfg man-page for details.
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
sflanagan@xand.com