Hello,
I have two hosts that show as being down ... Yet, all of their services are up and Ok.
Please see attached screenshot:
Any suggestions?
Thanks
Host Status not correct
Host Status not correct
You do not have the required permissions to view the files attached to this post.
Re: Host Status not correct
Is your host not accepting ping? Thats a common cause of that problem.
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Host Status not correct
That is correct ... We have ping traffic blocked.
Re: Host Status not correct
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
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
Former Nagios employee
Re: Host Status not correct
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?
Re: Host Status not correct
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.
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
Former Nagios employee
Re: Host Status not correct
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?
Can you point me in the right direction?
Re: Host Status not correct
Here's an excerpt from this document:
To find out the exact arguments that Nagios is using, you can look at the command definition in the Core Config Manager.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: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
# cd /usr/local/nagios/libexec # ./plugin_name args...Here's an example:Code: Select all
# ./plugin_name -hCode: 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;;
Re: Host Status not correct
Thanks all ... it works ... I changed it to look at the status of nagios client service.
Re: Host Status not correct
Good deal, glad it's working for you!