Hi,

I am using NRPE 1.8 on an HP-UX Server (version 11.0). The check_nrpe is running on Nagios 1.0 (Red Hat Linux 9). When I execute the check_nrpe from the command line I get the following error:

CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? 

The same error is also received from the services view of Nagios.

A telnet to the HP-UX Server from the nagios host provides the following output:

[root@d19933 libexec]# telnet 192.168.0.10 5666
Trying 192.168.0.10...
Connected to 192.168.0.10.
Escape character is '^]'.

NRPE - Nagios Remote Plugin Executor
Copyright (c) 1999-2003 Ethan Galstad (nagios@nagios.org)
Version: 1.8
Last Modified: 01-16-2003
License: GPL

Usage: -c -c <config_file> [mode]

Options:
 <config_file> = Name of config file to use
 [mode]        = Determines how NRPE should run. Valid modes:
   --inetd     = Run as a service under inetd or xinetd
   --daemon    = Run as a standalone daemon

Notes:
This program is designed to process requests from the check_nrpe
plugin on the host(s) running Nagios.  It can run as a service
under inetd or xinetd (read the docs for info on this), or as a
standalone daemon. Once a request is received from an authorized
host, NRPE will execute the command/plugin (as defined in the
config file) and return the plugin output and return code to the
check_nrpe plugin.

Connection closed by foreign host.
[root@d19933 libexec]#

The nrpe daemon is running under the user "nagios". Have tried almost everything but with little success.

Please advice..

Thanks,
RB

_____________________________________________________________
Visit ingoa.com, sign in free e-mail service of ingoa.com. Goans very own web site. your freind in goa. filled with lot of exciting features.


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users@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



