Execute a script when a host/service problem is acknowledged

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

Execute a script when a host/service problem is acknowledged

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post by tmcdonald »

You will want to read up on Event Handlers:

http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Former Nagios employee
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

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

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked