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 »

* Xavier LEVRAT [07.07.2008 17:11]:
> We'd like to trigger a plugin when we acknowledge a service problem. We
> don't want to use a eventhandler because this operation has to be
> manual. (ex : When a flag file is present in a directory, nagios raises
> a service problem. Acknowledging this problem will trigger a plugin that
> do a rm on the file.)
>
> Is it possible to do it with the curent NAGIOS logic ?

You could do it with a notification command. Just delete your flag file if
$NOTIFICATIONTYPE$ is ACKNOWLEDGEMENT.

Regards,
Armin Wolfermann





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