start a script automatically

Marc Powell marc at ena.com
Tue Apr 4 16:54:38 CEST 2006



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Marco Borsani
> Sent: Tuesday, April 04, 2006 9:04 AM
> To: joseph.petrucci at wachovia.com
> Cc: 'NAGIOS'
> Subject: R: [Nagios-users] start a script automatically
> 
> 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?

Not without the rest of the error that you chopped off. What's the
'....' part? That's probably the most useful bit of information. You've
been on the list long enough to know we need more information than that
;)

Can you run restart-http as the nagios user? Show us the command and
service definition. Verify that you're using full paths for commands
used within restart-http. Detail what restart-http is doing
specifically.

--
Marc


-------------------------------------------------------
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&kid0944&bid$1720&dat1642
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list