trouble getting started: getting error 127 out of bounds on check_http

Steve Shipway s.shipway at auckland.ac.nz
Thu Dec 1 01:00:54 CET 2005


>sh: line 1: /check_http: No such file or directory
...
>>  Return code of 127 for check of service 'HTTP' on host 'hockey' was 
>> out of bounds. Make sure the plugin you're trying to run actually 
>> exists.
...
>> # 'check_http' command definition
>> define command{
>>        command_name    check_http
>>        command_line    $USER1$/check_http -H $HOSTADDRESS$
>>        }


This shows that your Nagios installation is trying to call '/check_http',
which does not exist.  A non-existant or non-executable plugin will always
give you a code of 127 (which is an exec failure).  Nagios is telling you
that the plugin does not exist where defined.

Looking at your definition of check_http, it would seem that you have maybe
forgotten to set $USER1$ ?  You have said $USER1$/check_http, but the error
emssage is for /check_http. Check your definitions, and run the config check
on your entire setup.

Some people get more polite responses from the mailing list than others due
to the way they asked, and the information they give :)

Steve



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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