Page 1 of 1

Execute a script when a host/service problem is acknowledged

Posted: Thu Jan 22, 2015 9:58 am
by mon-team
Hi Team,
We would like to execute a command on nagiosXI server when a host/service problem is acknowledged.
Do you have any idea/suggestion on how to implement this?

Thanks for your help.
Best Regards

Re: Execute a script when a host/service problem is acknowle

Posted: Thu Jan 22, 2015 10:16 am
by tmcdonald
You will want to read up on Event Handlers:

http://assets.nagios.com/downloads/nagi ... ios-XI.pdf

Re: Execute a script when a host/service problem is acknowle

Posted: Wed Feb 04, 2015 9:58 am
by mon-team
Thank for your response but i don't think event handler is a solution because it is run only when host/services state change occurs.
I am looking for a solution to execute a script when a host/service problem is acknowledged/scheduled in downtime.

Thank in advance for your help

Best regards

Re: Execute a script when a host/service problem is acknowle

Posted: Wed Feb 04, 2015 10:36 am
by scottwilkerson
The closest we have in XI is a Global Event Handler which can set scripts to run for every notification sent.

Admin -> Manage Components -> Global Event Handlers -> Edit -> Notifications Tab