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
No data received from host
No data received from host
Last edited by vy3734 on Fri Jul 21, 2017 9:34 am, edited 2 times in total.
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: No data received from host
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?
if you run a curl -v against it, do you see the same intermittent results?
Re: No data received from host
with -v option i can see one of the member in bad state. Thanks.
Re: No data received from host
Did you have any further (related) questions or are we okay to close this thread?
Former Nagios employee