Re: [Nagios-devel] [NAGIOS-DEVEL] trigger a plugin on acknowledge
Posted: Tue Jul 08, 2008 12:18 am
* 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]
> 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]