Dial-Up Event_Handler

Marc Powell mpowell at ena.com
Tue Jul 8 19:31:47 CEST 2003


What is your command definition? A return code of 127 means that the
shell command you are trying to execute is not found or alternately is
not accessible/executable by the calling user. Check the command
definition for the correct path and verify that the command is
executable as the nagios user. Don't just check permissions, actually
run it as some other dependent file, device (like the com port) or
program might not be accessible by the nagios user.

marc

> -----Original Message-----
> From: Joshua R. [mailto:jrobinett at wi.rr.com]
> Sent: Tuesday, July 08, 2003 12:16 PM
> To: nagios-users at lists.sourceforge.net
> 
> Hey guys ~
> 
> I am unable to run a shell script from Nagios. Everytime the is run I
> receive the error  Number 127. Anyone have any success doing this?
> 
> Basically I am setting service to monitor the local interface on the
> nagios box, if it goes down. Nagios will execute the event_handler and
> dial to an ISP to send out notifictions.
> 
> Any help would be appreciated.
> 
> Josh
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps
> _______________________________________________
> 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


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
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