Host Status not correct

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Host Status not correct

Post by QS1 »

Hello,

I have two hosts that show as being down ... Yet, all of their services are up and Ok.

Please see attached screenshot:
Capture10.JPG

Any suggestions?


Thanks
You do not have the required permissions to view the files attached to this post.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Host Status not correct

Post by nscott »

Is your host not accepting ping? Thats a common cause of that problem.
Nicholas Scott
Former Nagios employee
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: Host Status not correct

Post by QS1 »

That is correct ... We have ping traffic blocked.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Host Status not correct

Post by nscott »

What would probably be best in your situation, since there are so few that are are not accepting ping, is to edit the host directly.

I just wrote up a doc that specifically addresses your need.

http://assets.nagios.com/downloads/nagi ... _In_XI.pdf
Nicholas Scott
Former Nagios employee
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: Host Status not correct

Post by QS1 »

Ok - I have edited the hosts and templates as needed. I have applied configuration but they are still showing down. Is there a way to reset the hosts for the changes to take place?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Host Status not correct

Post by nscott »

Well, if you just did it, I would give it the length of how long you have between checks.

After doing that and it still not working, I would verify the check that you specified will work and is properly set by running the very check you specified on the command line. That will be a good start.
Nicholas Scott
Former Nagios employee
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: Host Status not correct

Post by QS1 »

I can't seem to find out exactly how to do that ... I know you can run it manually from the server.

Can you point me in the right direction?
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Host Status not correct

Post by agriffin »

Here's an excerpt from this document:
It's useful to be familiar with running your plugins from the command line, for both informational and debugging purposes. They are located in the /usr/local/nagios/libexec directory. Navigate to that directory and run your plugin with the following commands:

Code: Select all

# cd /usr/local/nagios/libexec
# ./plugin_name args...
Experiment a bit and figure out the best way to run the plugin. It probably has a help option you can use to learn more:

Code: Select all

# ./plugin_name -h
Here's an example:

Code: Select all

# ./check_icmp -H localhost
OK - localhost: rta 0.016ms, lost 0%|rta=0.016ms;200.000;500.000;0; pl=0%;40;80;;
To find out the exact arguments that Nagios is using, you can look at the command definition in the Core Config Manager.
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: Host Status not correct

Post by QS1 »

Thanks all ... it works ... I changed it to look at the status of nagios client service.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Host Status not correct

Post by mguthrie »

Good deal, glad it's working for you!
Locked