Problems Using NRPE 1.8 with HP-UX 10.20

Subhendu Ghosh sghosh at sghosh.org
Wed Mar 26 18:41:26 CET 2003


On Wed, 26 Mar 2003, Kaplan, Andrew H. wrote:

> Thanks for your e-mail, here are the answers to your questions:
> 
> Are you using tcp wrappers? For vinilla NRPE you really should.
> 	The HP-UX box does not have the hosts.allow or hosts.deny files.
> 	Therefore TCP wrappers are not being used on this machine.
> 
> what is the line in your services.cfg for NRPE?
> 	The line in the services.cfg file for the client is the following:
> 	check_command		check_nrpe!check_disk1
> 
> what is the line in inetd.conf for NRPE?
> 	The line in inetd.conf is as follows:
> 	nrpe     stream  tcp	nowait  nagios	/usr/sbin/tcpd
> /opt/nrpe/bin/nrpe -c /opt/nrpe/nrpe.cfg --inetd
> 

The above line - /usr/sbi/tcpd IS tcp_wrappers !!!

if tcpd binary doesn't exist - then the above line is wrong.


> did you kill -HUP your inetd PID?
> 	I did not kill -HUP the inetd PID

You should always hup inetd after changing the config files to apply 
changes..

> 
> as the nagios user on the nagios monitoring box, can you run check_nrpe
> -H <hostIP>? is that when you get the connection refused error?
> 	I ran the command mentioned above and I got the connection refused
> error.
> 
> -----Original Message-----
> From: nny [mailto:nny at questionsleep.net]
> Sent: Wednesday, March 26, 2003 11:00 AM
> To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Problems Using NRPE 1.8 with HP-UX 10.20
> 
> 
> Are you using tcp wrappers? For vinilla NRPE you really should.
> 
> what is the line in your services.cfg for NRPE?
> 
> what is the line in inetd.conf for NRPE?
> 
> did you kill -HUP your inetd PID?
> 
> as the nagios user on the nagios monitoring box, can you run check_nrpe
> -H <hostIP>? is that when you get the connection refused error?
> 
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kaplan,
> Andrew H.
> Sent: Wednesday, March 26, 2003 9:45 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Problems Using NRPE 1.8 with HP-UX 10.20
> 
> 
> Hi there,
> 
> I recently compiled and installed NRPE 1.8 on an HP-UX 10.20 machine.
> The configure and make processes indicated the source code was compiled
> successfully. The plug-ins that I installed were those that had been
> compiled on an HP-UX 10.20 machine. When I run the plug-ins manually,
> they operate without any problems.
> 
> I am trying to get the Nagios server to be able to monitor the HP-UX
> machine. However, I am confronted by a Connection refused by host error
> message. I modified the inetd.conf and services files on the machine
> according to the instructions included in the NRPE client. The nrpe.cfg
> file was also modified to allow access where necessary. Does anyone have
> any ideas?
> 

-- 




-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
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