Page 1 of 1

No data received from host

Posted: Thu Jul 20, 2017 5:15 pm
by vy3734
I'm running the same http command multiple times but get different output. Do you know why this is happening?

HTTP OK: Status line output matched "HTTP/1.1 200,303" - 25882 bytes in 0.013 second response time |time=0.012552s;;;0.000000 size=25882B;;;0
[nagios@MA100DLVMON8 libexec]$ ./check_http -H ma100blvwsg5 -p 80 -u "/resources" -e "HTTP/1.1 200,303"
HTTP CRITICAL - No data received from host
[nagios@MA100DLVMON8 libexec]$ ./check_http -H ma100blvwsg5 -p 80 -u "/resources" -e "HTTP/1.1 200,303"
HTTP OK: Status line output matched "HTTP/1.1 200,303" - 25882 bytes in 0.012 second response time |time=0.011667s;;;0.000000 size=25882B;;;0
[
HTTP OK: Status line output matched "HTTP/1.1 200,303" - 25882 bytes in 0.012 second response time |time=0.012387s;;;0.000000 size=25882B;;;0
[nagios@MA100DLVMON8 libexec]$ ./check_http -H ma100blvwsg5 -p 80 -u "/resources" -e "HTTP/1.1 200,303"
HTTP OK: Status line output matched "HTTP/1.1 200,303" - 25882 bytes in 0.011 second response time |time=0.010713s;;;0.000000 size=25882B;;;0
[nagios@MA100DLVMON8 libexec]$ ./check_http -H ma100blvwsg5 -p 80 -u "/resources" -e "HTTP/1.1 200,303"
HTTP CRITICAL - No data received from host

Re: No data received from host

Posted: Fri Jul 21, 2017 8:44 am
by tacolover101
i would guess intermittent issues possibly as usually check_http is pretty reliable. try running it with -v to see if that proves to be more information.

if you run a curl -v against it, do you see the same intermittent results?

Re: No data received from host

Posted: Fri Jul 21, 2017 9:31 am
by vy3734
with -v option i can see one of the member in bad state. Thanks.

Re: No data received from host

Posted: Fri Jul 21, 2017 10:32 am
by tmcdonald
Did you have any further (related) questions or are we okay to close this thread?