I followed istructions on the manual.
 
When Nagios try to run the command, in the nagios.log I still read :
 
Warning: Attempting to execute the command "/usr/local/nagios/libexec/eventhandlers/restart-http  ....
 
ls -la /usr/local/nagios/libexec/eventhandlers/restart-http
-rwxr-xr-x   1 root       sys     489 Apr  4 15:06  /usr/local/nagios/libexec/eventhandlers/restart-http
 
Any idea?
Marco

Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Inviato: lunedì 3 aprile 2006 14.01
A: Marco Borsani
Cc: 'NAGIOS'; [EMAIL PROTECTED]
Oggetto: Re: [Nagios-users] start a script automatically


Look into event handlers.

Joe Petrucci
Office: 704-383-6089
Cell : 724-462-0443



"Marco Borsani" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

04/03/2006 07:57 AM

To
"'NAGIOS'" <nagios-users@lists.sourceforge.net>
cc
Subject
[Nagios-users] start a script automatically





Hi all!

Is it possible to start a script automatically on a remote host in case of a
particolar event?

For example, if nagios detects that process "named" on a DNS server is down,
will Nagios can run a remote command on that server to restart the process?

Regards

Marco Borsani                        
Unix & Monitoring System Administrator
Technical Operation
Tel.    +39 010 4310115
Fax     +39 010 4327454
E-mail: [EMAIL PROTECTED]

ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A.
Internet Service Provider
Sede legale:                     Via C.G.Viola, 48 - 00148 Roma
Dir. Centrale e Amministrativa:                   Via Pacinotti, 39
                                             16151 Genova (Italy)
                                                           
http://www.it.net                                
mailto:[EMAIL PROTECTED]
_______________________________________________________________
Altre sedi ITnet:
MILANO tel.: +39 02 30114900    [EMAIL PROTECTED]
ROMA    tel.: +39 06 83116707    [EMAIL PROTECTED]
_______________________________________________________________
ITnet is associated to CIX (Commercial IP eXchange) and RIPE
ITnet is associated to AIIP (Associazione Italiana Internet Providers)




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
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

ForwardSourceID:NT00014CEE    

Reply via email to