Page 1 of 1
Restarting missing process after alert?
Posted: Fri Feb 24, 2012 3:53 pm
by epx998
I am running a check_proc test on NagiosXI, is there a way to get NagiosXI to restart a process if it is missing and alerted by the check?
Cheers,
Gavin
Re: Restarting missing process after alert?
Posted: Fri Feb 24, 2012 4:49 pm
by scottwilkerson
Yes.
You can add a command in Configure -> Core Config Manager -> Commands that does what you need to do (this can be a script and can use macros)
make the Command type misc command
Then, go to your service
Configure -> Core Config Manager -> Services -> Modify Service -> Check Settings Tab
and select your Event handler and set Event handler enabled to on
Addition Event handling documentation.
http://nagios.sourceforge.net/docs/3_0/ ... dlers.html