Re: [Nagios-devel] [NAGIOS-DEVEL] trigger a plugin on acknowledge

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] [NAGIOS-DEVEL] trigger a plugin on acknowledge

Post by Guest »


On Jul 7, 2008, at 2:38 PM, Valdinger, Stephen (DOV, MSX) wrote:

> This is the exact situation an eventhandler is meant for. Why would =20=

> you want to go creating another method when the logic is already =20
> laid out for you? At best you could have the plugin spit out the =20
> name of the flag file to be removed so your eventhandler could do an =20=

> rm =96f filename or however you want to go about it.

Event handlers don't fire on Acknowledgement. His workflow requires =20
that the action be performed then, not when the hard state is =20
initially reached.

It could be done as part of the notification command, checking for =20
ACKNOWLEDGEMENT for this particular service. It's not as clean but =20
does use existing functionality and extracts his special needs to his =20=

own scripts.

--
Marc=





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