Re: Nrpe installation on HP-UX (1975 Views)
Reply
Regular Advisor
Kaps_2
Posts: 108
Registered: ‎04-12-2007
Message 1 of 7 (2,364 Views)

Nrpe installation on HP-UX

Hello Everybody,

Nrpe client is needed by Nagios Monitoring Server.I want to know is there any way to put nrpe client on HP-UX severs and make it working.Has anybody done this.Please let me know ASAP.

Thanks,

Kaps
Honored Contributor
Ralph Grothe
Posts: 2,631
Registered: ‎04-09-2000
Message 3 of 7 (2,350 Views)

Re: Nrpe installation on HP-UX

Hi Kaps,

I have installed nrpe on most of our HP-UX servers.
Just download the source tarball from the nagios website
http://www.nagios.org/download/
If you have a compiler for your hpux target platform the compile is pretty straight forward.
It can get a bit hairy if you have to or decide to compile with SSL support because then your OpenSSL libraries' ABI must match with the object code your compiler can produce.
However, if you don't have the additional security requirement of SSL tunneling of your nrpe checks (maybe because both your NRPE hosts as well as your Nagios server reside in a shielded LAN) then I would suggest to make without SSL support.
In the nrpe build directory run ./configure --help to see the required option to dis/enable SSL.
What the make should mainly produce is the nrpe daemon and the check_nrpe binary.
The installation is as easy as deciding whether to run nrpe stand-alone or inetd spawned (the common method), and manually copying nrpe, check_nrpe and nrpe.cfg in some appropiate place.
The README in the extracted build directory tells exactly what is required.
Having configured inetd correctly
make it reload its conf (/usr/sbin/inetd -c)
and look for the nrpe listening socket
(netstat -an|awk '$4~/\.5666$/&&$NF~/LISTEN/')

Probably does nrpe.cfg require editing to define check commands that make sense under hpux.
But you can start with something general like check_load which should work on any Unix.
Always start testing locally with your hpux compiled check_nrpe -H 127.0.0.1 -c ...
before trying from your Nagios server.
Watch for possible tcpwrapper that could hamper.
During the testing phase I found it helpful to set debug=1 in nrpe.cfg and make inetd run in non-name-resolving, extended logging mode
(/usr/sbin/ientd -s)
and whatch for nrpe entries in syslog.log if something isn't working as expected.

Madness, thy name is system administration
Occasional Visitor
Ritika Laddha
Posts: 1
Registered: ‎01-31-2010
Message 4 of 7 (2,350 Views)

Re: Nrpe installation on HP-UX

Hi,
I need to configure a HP-UNIX server to be monitored by Nagios.
Could you please list the artifacts and steps to install them ?
Respected Contributor
Taifur
Posts: 504
Registered: ‎12-11-2007
Message 5 of 7 (2,350 Views)

Re: Nrpe installation on HP-UX


Hi,

CHeck below link,

http://www.nagios.org/
http://docs.hp.com/en/5991-4849/5991-4849.pdf

Hope, it will help you.

Rgds//
Taifur
Regular Advisor
Kaps_2
Posts: 108
Registered: ‎04-12-2007
Message 6 of 7 (2,350 Views)

Re: Nrpe installation on HP-UX

Please check the nagios docs for the configuration of NRPE client on HP-UX.
Occasional Visitor
nmahaboob
Posts: 1
Registered: ‎12-10-2012
Message 7 of 7 (1,975 Views)

Re: Nrpe installation on HP-UX

Hello Kaps,

Could you please give us a detailed installation steps to install nrpe on Hpux 11.11 , Thanks a lot in advance!
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.