Problems Using NRPE 1.8 with HP-UX 10.20

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Thu Mar 27 18:35:24 CET 2003


I haven't touched an HP-UX box in ages, but here's where I'd start
troubleshooting:

1) comment nrpe out of inetd.conf
2) HUP inetd
3) edit nrpe.cfg, setting "debug=1"
4) in one window, start nrpe manually (NOT as a daemon) (*)
5) in another window on another host try to telnet to port 5666 on the
former host
6) make observations and report

(*) I would personally start nrpe using whatever the HP-UX equivalent to
Solaris' truss or Linux's strace, for added scrutiny

jc


> -----Original Message-----
> From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
> Sent: Thursday, March 27, 2003 9:18 AM
> To: 'nagios-users at lists.sourceforge.net'
> Subject: RE: [Nagios-users] Problems Using NRPE 1.8 with HP-UX 10.20
> 
> 
> I am running out of ideas...
> 
> /etc/sevices has an entry
> inetd was HUPed
> The path to the binary in inetd.conf is correct
> The binary has the execute bit set.
> 
> 
> Can you try running it as daemon instead of thru inetd?
> 
> -sg
> 
> On Thu, 27 Mar 2003, Kaplan, Andrew H. wrote:
> 
> > Hi Subhendu,
> > 
> > I double-checked the /etc/services file and I confirmed that
> > nrpe is listed as port 5666.
> > 
> > -----Original Message-----
> > From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
> > Sent: Wednesday, March 26, 2003 2:59 PM
> > To: 'nagios-users at lists.sourceforge.net'
> > Subject: RE: [Nagios-users] Problems Using NRPE 1.8 with HP-UX 10.20
> > 
> > 
> > 
> > is nrpe listed as port 5666 in /etc/services?
> > 
> > On Wed, 26 Mar 2003, Kaplan, Andrew H. wrote:
> > 
> > > Hi Subhendu,
> > > 
> > > I was unable to telnet to the host via port 5666.
> > > 
> > > The command syntax was telnet 'hostname' 5666
> > > The error message was 
> > > 
> > > Could not open a connection to host on port 5666: Connect failed
> > > 
> > > -----Original Message-----
> > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
> > > Sent: Wednesday, March 26, 2003 2:25 PM
> > > To: ''
> > > Subject: RE: [Nagios-users] Problems Using NRPE 1.8 with 
> HP-UX 10.20
> > > 
> > > 
> > > On Wed, 26 Mar 2003, Kaplan, Andrew H. wrote:
> > > 
> > > > Subhendu,
> > > > 
> > > > I double-checked the HP-UX system, and there was no 
> instance of tcpd on 
> > > > the computer. I modified the the inetd.conf file to now 
> read as follows:
> > > > 
> > > > nrpe     stream  tcp	nowait  nagios /opt/nrpe/bin/nrpe -c
> > > > /opt/nrpe/nrpe.cfg --inetd
> > > > 
> > > > I also ran the kill -HUP command for inetd.
> > > > 
> > > > Manually running the check_nrpe command from the Nagios 
> server resulted in
> > > > the same
> > > > Connection Refused By Host error message.
> > > > 
> > > 
> > > Can you telnet to the host:port running nrpe?
> > > 
> > > If so - is the host running nagios on the allowed_hosts 
> list in nrpe.cfg?
> > > 
> > > 
> > 
> > 
> 
> -- 
> 
> 
> 
> 
> -------------------------------------------------------
> 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
> 


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