Hello
i fix it by add 127.0.0.1 and ip address of the machine too in only_from located /etc/xinetd.d/nrpe
but i have another problem in the remote machine i want to monitor it , i execute the following command
Code: Select all
root@host [~]# /usr/local/nagios/libexec/check_nrpe -H localhost
NRPE v2.13
it's worked ok
but when i try to execute the following command
Code: Select all
root@sawa4 [~]# /usr/local/nagios/libexec/check_nrpe -H localhost -c check_users
NRPE: Unable to read output
on the machine have the nagios core
Code: Select all
[root@site ~]# /usr/local/nagios/libexec/check_nrpe -H <<remote_ip_address>>
NRPE v2.13
[root@site ~]# /usr/local/nagios/libexec/check_nrpe -H <<remote_ip_address>> -c check_load
NRPE: Unable to read output
[root@site ~]#
Note : both machines running on centos 5.7 linux
i don't know what is missing , and i looking for advice
thanks