Hello,<br><br>I'm trying to use the NRPE package to monitor the resources of remote computers.<br><br>I'm using Fedora Core 3 as one of my clients with the following packages:<br><br>nagios-plugins-nrpe-2.5.2-1.fc3.rf
<br>nagios-nrpe-2.5.2-1.fc3.rf<br><br>When I test from this fedora client machine I get the following error:<br><br>[root@plugins]# ./check_nrpe -H <a href="http://mydomain.org">mydomain.org</a> -c check_load<br><br><span style="font-weight: bold;">
NRPE: Unable to read output</span><br><br><span style="font-weight: bold;">This is the content of the /etc/xinetd.d/nrpe file:<span style="font-weight: bold;"></span><br></span><br>service nrpe<br>{<br> flags = REUSE
<br> type = UNLISTED<br> port = 5666<br> socket_type = stream<br> wait = no<br> user = nagios<br> group = nagios<br> server = /usr/sbin/nrpe
<br> server_args = -c /etc/nagios/nrpe.cfg --inetd<br> log_on_failure += USERID<br> disable = no<br> only_from = x.x.x.x<br>}<br><br><br>The x.x.x.x isthe IP of the client machine since I'm doing testing. I will change it later to the monitor machine that runs nagios.
<br><br>This is the content of the /etc/nagios/nrpe.cfg<br>================================<br><br><br>pid_file=/var/run/nrpe.pid<br><br>server_port=5666<br><br>nrpe_user=nagios<br><br>nrpe_group=nagios<br><br>dont_blame_nrpe=0
<br><br>debug=1<br><br>command_timeout=60<br><br>command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10<br>command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20<br>command[check_disk1]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/hda1
<br>command[check_disk2]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/hdb1<br>command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z<br>command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w 150 -c 200
<br><br><span style="font-weight: bold;">This is the content of the /var/log/secure log:</span><br><br>May 11 10:57:48 hostname xinetd[29902]: START: nrpe pid=30509 from=x.x.x.x<br><br><span style="font-weight: bold;">This is what I get when restarting the nrpe service:
</span><br><br>Shutting down Nagios NRPE daemon (nrpe): [FAILED]<br>Starting Nagios NRPE daemon (nrpe): [ OK ]<br><br><span style="font-weight: bold;">This is what the /var/log/messages log is saying when trying to restart the nrpe service:
</span><br style="font-weight: bold;"><br>May 11 11:05:06 hostname nrpe: nrpe shutdown failed<br>May 11 11:05:06 hostname nrpe[30554]: INFO: SSL/TLS initialized. All network traffic will be encrypted.<br>May 11 11:05:06 hostname nrpe[30555]: Starting up daemon
<br>May 11 11:05:06 hostname nrpe[30555]: Network server bind failure (98: Address already in use)<br>May 11 11:05:06 hostname nrpe: nrpe startup succeeded<br><br>When I do a ps -aux | grep nrpe I dont see the deamon by the name nrpe running but when I do a ps for xinetd, xinetd is running
<br><br>I installed this package on othermachines I I get the same problem.<br><br>Also, the only plugin listed under /usr/lib/nagios/plugins/ is check_nrpe<br><br>Do i need to see other plugins listed like check_load or check_disk. Or these are only switches that are used by check_nrpe?
<br><br>If this is a permission issue which I dont think so because when installing these packes they should take care of the permissions and ownership, can someone provide me with all the paths and permissions of each file, how they should look like?
<br><br>Any inputs?<br><br>THANKS!<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>