Page 1 of 1
Host Down in XI - but it is in fact not
Posted: Fri Jun 10, 2016 2:02 pm
by trafalgargirl
Hi all
I happened on a odd problem with one of our servers we have put in place. It's running Ubuntu 16.04. I have gone through all the troubleshooting I can think of (and find) and even uninstalled and reinstalled the nrpe agent. Happy to post what ever output you would like to see. Made sure the port was open.
root@PenetrationTest:/tmp/linux-nrpe-agent# lsof -i:5666
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
xinetd 32258 root 5u IPv4 1513770 0t0 TCP *:nrpe (LISTEN)
Re: Host Down in XI - but it is in fact not
Posted: Fri Jun 10, 2016 2:05 pm
by rkennedy
Can you show us a screenshot of the host being down, and a paste of the current host definition? If it's just the host check that is failing, it is most likely running just a ping check and will not be related to NRPE.
From the CLI of Nagios, can you ping the IP of that host?
Re: Host Down in XI - but it is in fact not
Posted: Fri Jun 10, 2016 2:07 pm
by lmiltchev
Have you tried stopping/starting services in XI?
Code: Select all
service nagios stop
service ndo2db stop
service ndo2db start
service nagios start
Can you show us the actual host check run from the command line along with the output of it?
Also, show us the actual host config.
Re: Host Down in XI - but it is in fact not
Posted: Fri Jun 10, 2016 3:44 pm
by trafalgargirl
rkennedy wrote:Can you show us a screenshot of the host being down, and a paste of the current host definition? If it's just the host check that is failing, it is most likely running just a ping check and will not be related to NRPE.
From the CLI of Nagios, can you ping the IP of that host?
Ping from the host returns 100% packet loss
Re: Host Down in XI - but it is in fact not
Posted: Mon Jun 13, 2016 10:49 am
by rkennedy
Then it's down because Nagios is unable to ping the IP. The other checks may work, but ICMP traffic is most likely blocked somewhere.
Re: Host Down in XI - but it is in fact not
Posted: Tue Jun 21, 2016 1:26 pm
by trafalgargirl
so how would I correct this?
Re: Host Down in XI - but it is in fact not
Posted: Tue Jun 21, 2016 1:29 pm
by rkennedy
You will need to allow ICMP traffic through your firewall.