Page 1 of 1

can I exec a sh script when alarm occured?

Posted: Tue Oct 11, 2011 3:38 am
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

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

Posted: Tue Oct 11, 2011 11:34 am
by nscott
faust,

Check out this doc on event handlers:

http://assets.nagios.com/downloads/nagi ... ndlers.pdf