Plugin Problem

Marc Powell mpowell at ena.com
Mon Jan 31 16:54:33 CET 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Yatindra Ranpura
> Sent: Monday, January 31, 2005 4:50 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Plugin Problem
> 
> Hi all,
> 
> Im new to Nagios, need some help getting the plugins working,
> im using mandrake 10 and installed nagios 1.2
> 
> it shows few red hosts im trying to monitor and error is (Return code
of
> 127
> is out of bounds - plugin may be missing)

127 indicates that the plugin you are trying to run isn't in the
location specified in your commands.cfg file. For example --

# 'check_ssh' command definition
define command{
        command_name    check_ssh
        command_line    $USER1$/check_ssh $HOSTADDRESS$ -t 20
        }

(from resource.cfg) --

# Sets $USER1$ to be the path to the plugins
$USER1$=/usr/local/nagios/libexec

So, nagios would expect to find the check_ssh plugin as
/usr/local/nagios/libexec/check_ssh. If it wasn't in that location
nagios would report the error above.

Verify that you either specify the full path to the command in your
command definition or that $USER1$ is pointing to the right directory.

--
Marc 



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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