Page 1 of 1

How to check_http with no ping? Required by Cloudflare

PostPosted: Thu Feb 01, 2018 4:49 pm
by FeastOrDiet
Because Cloudflare does not support ping, a simple check_http is not useful because the host is reported as DOWN despite the HTTP service being detected as functional.
Host Status: DOWN (for 2d 7h 22m 4s)
Status Information: PING CRITICAL - Packet loss = 100%

I don't see a ping test in check_http, so that can not be disabled with that plugin. Yet the check_http command which is configured for the test is supposed to define what is tested. How is one supposed to disable what is apparently an implied ping test?

Re: How to check_http with no ping? Required by Cloudflare

PostPosted: Thu Feb 01, 2018 5:03 pm
by tmcdonald
A "ping" is typically referring to a proper ICMP check, not HTTP. check_http should still work - what exact options are you using? And if you run it from the command line directly with those options but add -v for verbose, what is the output?

Re: How to check_http with no ping? Required by Cloudflare

PostPosted: Thu Feb 01, 2018 5:04 pm
by dwhitfield
Additionally, can you post your host definition and commands? By default the host check is ping and you would set up check_http as a service, but you can change the host check to be whatever you like.