Recheck when going from Warning to Critical?
Recheck when going from Warning to Critical?
As you can see, at 00:01 it changed from Warning to Critical apparently due to an ssh connection issue, but then went right back to Warning. Is there any setting I can change to make any state change make it go soft again and it have to recheck so alerts aren't sent for false positives.
You do not have the required permissions to view the files attached to this post.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Recheck when going from Warning to Critical?
Interesting question. This is a "default" behavior in nagios.
I haven't tried this, but it's probably possible to change the state to soft again via an event handler.
http://nagios.sourceforge.net/docs/nagi ... types.htmlHard States
Hard states occur for hosts and services in the following situations:
When a host or service check results in a non-UP or non-OK state and it has been (re)checked the number of times specified by the max_check_attempts option in the host or service definition. This is a hard error state.
When a host or service transitions from one hard error state to another error state (e.g. WARNING to CRITICAL).
When a service check results in a non-OK state and its corresponding host is either DOWN or UNREACHABLE.
When a host or service recovers from a hard error state. This is considered to be a hard recovery.
When a passive host check is received. Passive host checks are treated as HARD unless the passive_host_checks_are_soft option is enabled.
I haven't tried this, but it's probably possible to change the state to soft again via an event handler.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Recheck when going from Warning to Critical?
Thanks Ludmil.
The eventhandler wouldn't accomplish my desired outcome(not sending a notification) so I guess we'll have to live with this functionality. You can close this up unless someone else chimes in with an awesome idea first
The eventhandler wouldn't accomplish my desired outcome(not sending a notification) so I guess we'll have to live with this functionality. You can close this up unless someone else chimes in with an awesome idea first
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Recheck when going from Warning to Critical?
I am closing it, but you can always PM me if you want it reopened.
Be sure to check out our Knowledgebase for helpful articles and solutions!