Nagios agent on Oracle Linux 7

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Nagios agent on Oracle Linux 7

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios agent on Oracle Linux 7

Post by slansing »

Have you verified that port 5666 is accepting traffic? See:

http://serverfault.com/questions/608231 ... ost-centos
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: Nagios agent on Oracle Linux 7

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios agent on Oracle Linux 7

Post by tmcdonald »

Are we clear to close this thread now?
Former Nagios employee
Locked