Restarting missing process after alert?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
epx998
Posts: 31
Joined: Mon Nov 21, 2011 3:51 pm

Restarting missing process after alert?

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Restarting missing process after alert?

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked