error code 127 after each server reload

Marc Powell marc at ena.com
Wed Aug 31 21:27:51 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of FM
> Sent: Wednesday, August 31, 2005 2:09 PM
> To: Mailing List Nagios-Users
> Subject: [Nagios-users] error code 127 after each server reload
> 
> Hello,
> I'm having a great time configuring this beast !
> Each time that I reload or restart NAGIOS I recevied error 127 for all
> services (and also lots of false positive email)
> ex :
> Warning: Return code of 127 for check of service 'NFS' on host
'SERVER'
> was out of bounds. Make sure the plugin you're trying to run actually
> exists.
> 
> I'm using nagios 2.0b4

This indicates that the command definition doesn't contain the correct
path to the plugin, the plugins weren't installed in the standard
location of /usr/local/nagios/libexec or the plugins weren't installed
at all. I'd start by verifying that the $USER1$ macro in resource.cfg
points to where the plugins were installed --

Example command definition --

# 'check_ping' command definition
define command{
        command_name    check_ping
        command_line    $USER1$/check_fping $HOSTADDRESS$ -n 10 -w500.0
30 -c1000.0 60
        }

$USER1$ as defined in resource.cfg --

$USER1$=/usr/local/nagios/libexec

--
Marc


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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