[nrpe] "Unable to read output"
atstake atstake
atstake at gmail.com
Fri Dec 1 08:26:07 CET 2006
I compiled nrpe without SSL & when I try to connect to the remote nrpe
daemon it says "Unable to read output"
root at server1:/usr/local/nagios/libexec # ./check_nrpe -n -H
172.16.20.5 -c check_disk1
NRPE: Unable to read output
First, I started the stand-alone daemon -
root at server2:/home/client/nrpe-2.5.2/src # ./nrpe -n -d -c /etc/nrpe.cfg
then checked if nrpe is running -
root at server2:/home/client/nrpe-2.5.2/src # ps aux | grep nrpe
1000 850 0.0 0.0 2032 504 ? Ss 14:45 0:00
./nrpe -n -d -c /etc/nrpe.cfg
tcp 0 0 172.16.20.5:5666 0.0.0.0:* LISTEN 850/nrpe
here's my /etc/nrpe.cfg file -
pid_file=/tmp/nrpe.pid
server_port=5666
server_address=172.16.20.5
nrpe_user=client
nrpe_group=users
allowed_hosts=172.16.20.4
dont_blame_nrpe=0
debug=0
command_timeout=60
command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10
-p /dev/sda2
command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 10
-p /dev/sdb1
I can ping/ssh both the hosts and no firewall blocking any port.
permission for /etc/nrpe.cfg is
-rw-rw-rw- 1 client users 6775 Dec 1 14:42 /etc/nrpe.cfg
/vag/log/messages on the daemon end
Dec 1 16:25:31 server2 nrpe[1711]: Starting up daemon
Dec 1 16:25:31 server2 nrpe[1711]: Listening for connections on port 5666
Dec 1 16:25:31 server2 nrpe[1711]: Allowing connections from: 172.16.20.4
I don't have nagios installed on where nrpe daemon is running.
Any kind of help would be much appreciated.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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