Problems Running NRPE Client on an HP-UX works tation

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Fri Oct 4 23:50:00 CEST 2002


Looks like a permission problem to me.  However, let's take the
methodological approach.

1) Can you run the following on the command line of the client:

  /usr/local/nagios/libexec/check_disk 80 95 /dev/vg01/lvol3

and if so, great, and if not, that's where you need to start digging.

2) Is the nrpe daemon running, either as standalone or under (x)inetd?

You might want to try to nmap tcp port 5666 (assuming that's the port you're
using) on the client, or in a pinch, "telnet 127.0.0.1 5666" from the
command line of the client, just as a sanity check.

3) Have you correctly configured the allowed_hosts directive in nrpe.cfg on
the client?  As a *minimal* configuration (IMHO) it should look like:

allowed_hosts=127.0.0.1,n.n.n.n

where n.n.n.n is the IP address of your Nagios server.

If this is set to at least 127.0.0.1, you should be able to at least do this
(on the client):

  /path/to/check_nrpe 127.0.0.1 -c check_disk1

and you should immediately get a response back.

HTH.

jc

> -----Original Message-----
> From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG]
> Sent: Friday, October 04, 2002 2:32 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Problems Running NRPE Client on an HP-UX
> workstation
> 
> 
> Hello all,
> 
> I have set up the nrpe client an HP-UX machine runing version 
> 10.20. The
> check I'm running is the check_disk command. The syntax of 
> the line in the 
> nrpe.cfg file reads:
> 
> command[check_disk1]=/usr/local/nagios/libexec/check_disk 80 95
> /dev/vg01/lvol3
> 
> The connection is being refused. I am wondering if trying to 
> read a logical
> volume could be generating this error. I have spoken to 
> several people and
> it does not appear to be a permissions issue. FYI: The Nagios 
> application
> server 
> is not part of an NIS domain while the workstation is a member of one.
> However, both
> machines can see each other on the network. The workstation 
> can be accessed
> via telnet
> while the application server can be connected to via ssh. 
> Your thoughts?
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list