Unable to add host running ubuntu for nagios monitoring?
- by karthick87
I am unable to add ubuntu server in nagios monitoring. I am getting "CHECK_NRPE: Socket timeout after 40 seconds." error for few services "CPU Load, Cron File Check, Current Users, Disk Check, NTP Daemon, Time Check, Total Processes, Zombie Processes". Please find the snapshot for the same below,
Details:
Installed nrpe plugin in ubuntu host.
On running the below command from remote host running ubuntu (not nagios server) am getting the following output,
root@ubuntu-cacher:~# /usr/local/nagios/libexec/check_nrpe -H localhost
NRPE v2.13
But in nagios server i am getting "CHECK_NRPE: Socket timeout after 40 seconds." error.
Additional Information:
Am running nrpe under xinetd, when i execute the following command i dont get any output,
root@ubuntu-cacher:~# netstat -at | grep nrpe
But getting the following output when checking,
root@ubuntu-cacher:~# netstat -ant|grep 5666
tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN
tcp 0 0 172.29.*.*:5666 172.29.*.*:33693 ESTABLISHED
tcp 0 0 172.29.*.*:5666 172.29.*.*:33692 ESTABLISHED