Return code of 127 for check of service 'HTTP' on host

Sriram Sreedhar sriram003 at gmail.com
Fri Aug 12 08:24:03 CEST 2005


Hi guys



I have the port 5666 running localhost as well as remotely.



Plugins are placed in /usr/local/nagios/libexec/

all the check_commands* are there.



If I run the command manually then I get the response remotely as
 well as locally see below.



[root at wninpx01 etc]# /usr/local/nagios/libexec/check_http -H 10.33.16.78

HTTP OK HTTP/1.1 200 OK - 12270 bytes in 0.004 seconds |time=0.004346s;
;;0.000000 size=12270B;;;0



checkcommands.cfg



define command{

        command_name    check_http

        command_line    $USER1$/check_http -H $HOSTADDRESS$

        }



resource.cfg file has the following line



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





I have also tried manually giving the full path in the file chekcommands.
cfg



# 'check_http' command definition

define command{

        command_name    check_http

        command_line    /usr/local/nagios/libexec/check_http -H
 10.33.16.78

        }



This still wont start my webbased to show the services running





The following is the logs 



Aug 12 07:01:39 wninpx01 nagios: Warning: Return code of 127 for
 check of service 'HTTP' on host 'cluster3' was out of bounds. Make
 sure the plugin you're trying to run actually exists.



Aug 12 07:02:39 wninpx01 nagios: Warning: Return code of 127 for
 check of service 'IMAP' on host 'cluster3' was out of bounds. Make
 sure the plugin you're trying to run actually exists.







Could someone please help !!





Regards



- Sriram Sreedhar (sriramsreedhar at gmail.com)



-----------------------

The mailing list archive is found here:

http://www.nagiosexchange.org/nagios-users.34.0.html

				


-------------------------------------------------------
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