Page 1 of 1

host always shown down but services status is"ok"

Posted: Wed Dec 19, 2018 12:34 am
by nagiossupport123
host always shown down, services status is "ok", the nagios server and monitor host in same subnet , before the probelm, the nagios server can ping the monitor host, but now cannot ping, shown down, the nagios can ping other monitor host in same subnet and different subnet.

how to solute.


thanks

Re: host always shown down but services status is"ok"

Posted: Wed Dec 19, 2018 11:24 am
by bolson
Hello nagiossupport123,

Most often, if the host being monitored does not respond to a ping request but the service checks are successful, the monitored host is configured to not allow the ping request. Try temporarily disabling Windows Firewall to see if the host responds to ping. If so, the firewall needs to be configured to allow icmp traffic. Let us know if this resolves your issue.

Thank you for visiting the Nagios Support Forum.

Re: host always shown down but services status is"ok"

Posted: Wed Dec 19, 2018 7:13 pm
by nagiossupport123
Hi bolson

i had disabled windows firewall and i had ping to monitored host from nagios server, but not responded again, otherwise the monitored host also can not ping the nagios server too.

thanks

Re: host always shown down but services status is"ok"

Posted: Wed Dec 19, 2018 7:16 pm
by nagiossupport123
bolson wrote:Hello nagiossupport123,

Most often, if the host being monitored does not respond to a ping request but the service checks are successful, the monitored host is configured to not allow the ping request. Try temporarily disabling Windows Firewall to see if the host responds to ping. If so, the firewall needs to be configured to allow icmp traffic. Let us know if this resolves your issue.

Thank you for visiting the Nagios Support Forum.
hi bolson

i had disabled windows firewall, and ping to monitored host from nagios server, but not responded again. otherwise the monitored host also cannot ping the nagios server.

Thanks

Re: host always shown down but services status is"ok"

Posted: Thu Dec 20, 2018 12:04 pm
by bolson
Hello nagiossupport123,

If the service checks for this host are returning the correct status information but the host cannot be pinged, there is clearly something preventing the ping command from returning packets. The fact that the Nagios server cannot be pinged from the monitored host either makes it clear that this is an issue on the monitored host rather than on the Nagios server. If the issue was on the Nagios server, it would not be able to ping any of the hosts on the subnet. Hope this helps.