[Nagiosplug-help] Install NRPE on Solaris
cesar pacheco
cpachecofer at gmail.com
Tue Jan 29 14:51:16 CET 2008
Hi list
I'm trying to install NRPE daemon on Sun Solaris 9, following NRPE.pdf instructions.
I'm using Solaris9 as remote host. I've installed nagios-plugins-1.4.6, and nrpe-2.8 with next commands:
#cd /tmp/downloads/nrpe-2.8
#./configure --disable-ssl (Since I haven't Open SSL installed on my machine)
make all
#make install-plugin
#make install-daemon
#make install-daemon-config
Next, I edited my /etc/inetd.conf file and added ..
nrpe stream tcp nowait nagios /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i
Next, I edited /etc/services file, adding ...
nrpe 5666/tcp # NRPE
Afterwards, I restart inetd
#pkill -HUP inetd
And I test the nrpe service state:
#netstat -a | grep nrpe
*.nrpe *.* 0 0 49152 0 LISTEN
Everything seems working perfectly, but when I check the deamon ...
#/usr/loca/nagios/libexec/check_nrpe -n -H localhost
I get ...
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
My log says ...
Jan 29 15:00:14 host1 nrpe[15449]: [ID 301881 daemon.error] Unable to open config file '//nrpe.cfg' for reading
Jan 29 15:00:14 host1 nrpe[15449]: [ID 576867 daemon.error] Config file '//nrpe.cfg' contained errors, aborting...
These are nrpe.cfg permissions:
#ls -l etc/nrpe.cfg
-rw-r--r-- 1 nagios nagios 7102 Jan 29 14:41 etc/nrpe.cfg
Any idea?
Thanks in advance.
- cesar pacheco (cpachecofer)
-----------------------
The mailing list archive is found here:
http://www.nagiosexchange.org/nagiosplug-help.32.0.html
More information about the Help
mailing list