can I exec a sh script when alarm occured?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
faust
Posts: 7
Joined: Tue Oct 11, 2011 3:17 am

can I exec a sh script when alarm occured?

Post by faust »

hi , experts,

I'm a new user of nagios, can I exec a sh script when alarm occured? I wrote the shell myself. how to do ?

thx
faust
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: can I exec a sh script when alarm occured?

Post by nscott »

faust,

Check out this doc on event handlers:

http://assets.nagios.com/downloads/nagi ... ndlers.pdf
Nicholas Scott
Former Nagios employee
Locked