---- Nagios Core 4.2.2 running OK. ----
I have several hosts that I check by PING. I have one host that blocks ICMP but has port 80 open.
I decided to check on this particular host using check_tcp.
I created a define service and a servicegroup for check_tcp for this host. For the most part all is well except the host shows up in the Hosts page with "Down" Ping Critical Packet loss 100%. I don't have a PING service define for this host.
I do see the host in the Services page with the HTTP OK.
How do I stop PING from testing the host that does not respond to ICMP.
I have added graphics of what the GUI displays for this host in the Hosts and Service pages.
Service Description Ping and HTTP
Service Description Ping and HTTP
- Attachments
-
- Host page display
- bhds-http-hostgoup.jpg (5.29 KiB) Viewed 2057 times
-
- Services page display
- bhds-http-servicegroup.jpg (8.63 KiB) Viewed 2057 times
Re: Service Description Ping and HTTP
Can you show us the configuration files this host (bhds-aig-portal) is leveraging? It's hard to say for sure what's going on without having the configuration set.
What you'll likely need to do is change your host definition to use a different check_command other than check_icmp.
What you'll likely need to do is change your host definition to use a different check_command other than check_icmp.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Service Description Ping and HTTP
Thanks mcapra,
I think I found a solution out on the web.
I am trying it now. and will update shortly.
I think I found a solution out on the web.
I am trying it now. and will update shortly.
Re: Service Description Ping and HTTP
I found a comment on the web where someone made a "no ping" template and then used that for the check for the host.
That let the host show in the hosts page without being shown as down and use the http port 80 check to display its status as well as the display in the Services page.
Here is the link.
https://milliondollarserver.com/nagios- ... -ping.html
I modified it just a little bit to suit my needs.
20 - 20 hindsight I should of named the subject line of the post "How not to Ping a host"
That let the host show in the hosts page without being shown as down and use the http port 80 check to display its status as well as the display in the Services page.
Here is the link.
https://milliondollarserver.com/nagios- ... -ping.html
I modified it just a little bit to suit my needs.
20 - 20 hindsight I should of named the subject line of the post "How not to Ping a host"
Re: Service Description Ping and HTTP
Thanks for sharing your solution! Did you have additional questions regarding this issue, or can we close this thread and mark it as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/