Re: [Nagios-devel] [PATCH] - 3.0.3: only send out a service

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] [PATCH] - 3.0.3: only send out a service

Post by Guest »

Thomas,

I think I have a resolution to the

tracked escalation state -> non-escalation state 1 ... N -> escalation
recovery -> send recovery

issue you brought up.

In my testing environment I have added code to the patch that will do
the following if the previous problem state is *not* listed explicitly
in the escalation definition:

* If service_history_index > 0
** Walk backwards through the state history for the service no farther
than to the value for first_notification for the current escalation
*** If any state in the backwards walk matches a state listed in the
escalation definition, then send a recovery notification as that means
we did send an escalation notification for a problem *within the scope
of the current escalation definition*

Do you see any problems with this additional logic? So far it is
working for me in my test environment, which has the same configs as
our prod environment.

Regards,
Max





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked