Update the nagios plugins if you're getting the ERROR "NRPE: Unable to read output"
Do the below steps by login to the server by root.
# /usr/local/nagios/libexec/check_nrpe -H <server_IP> -c check_serviceName
Thats all.
Do the below steps by login to the server by root.
# cd /usr/local/src/Use the below command to check the result from your nagios server.
# wget http://nagios-plugins.org/download/nagios-plugins-2.0.3.tar.gz
# tar -zxvf nagios-plugins-2.0.3.tar.gz
# cd nagios-plugins-2.0.3
# ./configure --with-nagios-user=nagios --with-nagios-group=nagios
# make
# make install
# chown nagios:nagios /usr/local/nagios
# chown -R nagios:nagios /usr/local/nagios/libexec
# service xinetd restart
# /usr/local/nagios/libexec/check_nrpe -H <server_IP> -c check_serviceName
Thats all.
No comments:
Post a Comment