Help NRPE 1.8 won't work

Hagen Deike Hagen_Deike at icon-scm.com
Thu Mar 6 18:36:46 CET 2003


Hi all,

I need a little help on nrpe 1.8
I Installed nrpe on a Linux Box running Nagios and a HP/UX Server with the
nrpe daemon.

On the HP/UX Server the nrpe exec is installed in /usr/sbin. Path is set
correct.
The config file is in /usr/local/nagios/etc/nrpe.cfg
nrpe is loaded in inetd.conf

 nrpe stream tcp nowait daemon /usr/sbin/nrpe -c
/usr/local/nagios/etc/nrpe.cfg --inetd

If I open a telnet to the server on port 5666 I get a message back from
nrpe.
There is a entry in nrpe.cfg for following command

 command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c
30,25,20

Running the plugin on the shell is OK

 $ /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
 OK - load average: 0.06, 0.10, 0.20

But as soon as I try to use the check_nrpe plugin I get an error...

 me at mon:/usr/lib/nagios/plugins> ./check_nrpe -H 10.x.x.x -c check_load
 CHECK_NRPE: Received 0 bytes.  Are we allowed to connect to the host?


What's wrong with it???

Regards,
Hagen Deike



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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