[NAGIOS-DEVEL] trigger a plugin on acknowledge

Marc Powell marc at ena.com
Mon Jul 7 21:48:56 CEST 2008


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  
> you want to go creating another method when the logic is already  
> laid out for you? At best you could have  the plugin spit out the  
> name of the flag file to be removed so your eventhandler could do an  
> rm –f filename or however you want to go about it.

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

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

--
Marc
-------------------------------------------------------------------------
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