Page 1 of 1

Nagios agent on Oracle Linux 7

Posted: Thu Dec 25, 2014 5:48 am
by inas.labib
Hi,

I installed the nagios xi agent on Orcale linux 7 machine and I faced many issues but I managed to solve them all and now I can see that there are no errors in install.log I can from the agent it self (10.10.100.180) do the following:
/usr/local/nagios/libexec/check_nrpe -H 10.10.100.180 -t 30 -c check_cpu_stats -a '-w 85 -c 95' and it replies successfully but not from any other server.

the nagios server ip is already in /etc/xinetd.d/nrpe but still not be able to connect from the server at all
from the server I am getting:
connect to address 10.10.100.180 port 5666: No route to host
connect to host 10.10.100.180 port 5666: No route to host
and I can not even telnet the agent
# telnet 10.10.100.180 5666
Trying 10.10.100.180...
telnet: connect to address 10.10.100.180: No route to host
but I can ssh it.
I run out of ideas, please advise.

Thanks,
Inas Labib

Re: Nagios agent on Oracle Linux 7

Posted: Fri Dec 26, 2014 10:28 am
by slansing
Have you verified that port 5666 is accepting traffic? See:

http://serverfault.com/questions/608231 ... ost-centos

Re: Nagios agent on Oracle Linux 7

Posted: Sun Dec 28, 2014 2:19 am
by inas.labib
Hi,
The problem has been solved.
The issue was that the firewall service is not any more iptables it is firewalld now on Linux 7 and yes it was a firewall issue.

Thanks

Re: Nagios agent on Oracle Linux 7

Posted: Mon Dec 29, 2014 9:46 am
by tmcdonald
Are we clear to close this thread now?