Host Down in XI - but it is in fact not

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
trafalgargirl
Posts: 80
Joined: Tue Feb 09, 2016 12:17 pm
Location: Montreal, Quebec, Canada

Host Down in XI - but it is in fact not

Post 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)
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Host Down in XI - but it is in fact not

Post 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?
Former Nagios Employee
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Host Down in XI - but it is in fact not

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
trafalgargirl
Posts: 80
Joined: Tue Feb 09, 2016 12:17 pm
Location: Montreal, Quebec, Canada

Re: Host Down in XI - but it is in fact not

Post 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
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Host Down in XI - but it is in fact not

Post 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.
Former Nagios Employee
trafalgargirl
Posts: 80
Joined: Tue Feb 09, 2016 12:17 pm
Location: Montreal, Quebec, Canada

Re: Host Down in XI - but it is in fact not

Post by trafalgargirl »

so how would I correct this?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Host Down in XI - but it is in fact not

Post by rkennedy »

You will need to allow ICMP traffic through your firewall.
Former Nagios Employee
Locked