Re: [Nagios-devel] Allow event-handler cancelation

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] Allow event-handler cancelation

Post by Guest »

On 03/08/2011 10:24 AM, Matthieu Kermagoret wrote:
> Hi list,
>
> Currently event-handlers can be overriden by NEB modules using the
> NEBERROR_CALLBACKOVERRIDE macro. Attached patch also allo the
> NEBERROR_CALLBACKCANCEL macro to be used to cancel event-handler
> execution.
>

NEBERROR_CALLBACKCANCEL is used as a one-time measure to cancel
checks, while NEBERROR_CALLBACKOVERRIDE is used to cancel them
without rescheduling them. I'm not sure if we want to muddy the
distinctions by having them mean the same for things that aren't
re-scheduled automagically.

--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.





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