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 ? my negios is core
sorry I posted this in xi, but i find my negios is core.
thx
faust
can I exec a sh script when alarm occured?
Re: can I exec a sh script when alarm occured?
Yes, what you're looking to do is called an event handler. Take a look at the following doc, it should explain better than I can what you're looking for.
http://nagios.sourceforge.net/docs/3_0/ ... dlers.html
http://nagios.sourceforge.net/docs/3_0/ ... dlers.html