check_snmp_xxx-- Return code of 127 - plug-in may bemissing
Marc Powell
marc at ena.com
Tue Feb 5 21:05:39 CET 2008
Hi Chris --
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of chrisboyd00 at comcast.net
> Sent: Tuesday, February 05, 2008 12:11 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] check_snmp_xxx-- Return code of 127 - plug-in
may
> bemissing
This error indicates that the path to the plugin in the command{}
definition is incorrect or the plugin filename is wrong.
> commands.cfg
> <snip>
> # 'check_snmp_nics' command defination
> define command {
> command_name check_snmp_nics
> command_line /$USER1&/check_snmp_nics -H $HOSTADDRESS$
$ARG1$
> }
You almost certainly mean --
command_line $USER1$/check_snmp_nics -H $HOSTADDRESS$
$ARG1$
...assuming that $USER1$ is defined as /usr/local/nagios/libexec (or
whatever the path is) in resource.cfg.
--
Marc
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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