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

Chris Wilson chris at aidworld.org
Fri Aug 12 11:19:58 CEST 2005


Hi Sriram,

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

What does NRPE (on port 5666) have to do with check_http run locally on
the Nagios server?

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

What do you mean "remotely as well as locally"? Do you have something
like this:

nagios server --NRPE--> NRPE server --check_http--> HTTP server

In that case, make sure the NRPE command run by the Nagios server exists
and runs as Nagios user.

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

Also make sure that this works if you run it as the Nagios user (not as
root).

Cheers, Chris.
-- 
(aidworld) chris wilson | chief engineer (chris at aidworld.org)



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