Super, thanks. I will look into this! :)

Luis Wiedemann
Systems Analyst
MIS - Open Systems

-----Original Message-----
From: Jason Qualkenbush [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 25, 2006 11:30 AM
To: Wiedemann, Luis
Cc: [email protected]
Subject: Re: [Nagios-users] Start a downed process?

Wiedemann, Luis wrote:

> Hello all,
>
>  
>
> People are asking if there is a way to have nagios trigger a command 
> to restart a service that has returned a status of off or critical or 
> whatever. I am using 2.0b4.
>

You want an event handler.  I haven't tried running something to fix 
anything, but I do send events to a database which works great.  It let 
me create a different status page for the NOC, which is great to see up 
and running on the wall monitor.
(screen shot)
http://cosmicegg.net/nag-status-full.jpg

(From the doc...)

Event handlers are optional commands that are executed whenever a host 
or service state change occurs. An obvious use for event handlers 
(especially with services) is the ability for Nagios to proactively fix 
problems before anyone is notified. Another potential use for event 
handlers might be to log service or host events to an external database.

http://nagios.sourceforge.net/docs/2_0/eventhandlers.html

-Jason



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to