Page 1 of 1

Execute Script/Program at each and every alert

Posted: Mon Aug 12, 2019 10:44 am
by amitgupta19
I have script and Program which will contain the read only api of the nagios.

How to invoke the script/program along with each alert.

Re: Execute Script/Program at each and every alert

Posted: Mon Aug 12, 2019 10:55 am
by scottwilkerson
There are 2 directives you can enable in the nagios.cfg that you can enable that will run a nagios command object you specify

Code: Select all

global_host_event_handler=
global_service_event_handler=
See details here
https://assets.nagios.com/downloads/nag ... dlers.html