[NAGIOS-DEVEL] trigger a plugin on acknowledge

Armin Wolfermann aw at osn.de
Tue Jul 8 10:13:53 CEST 2008


* Xavier LEVRAT <xlevrat at yahoo.fr> [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

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08




More information about the Developers mailing list