check_http not returning expected 502

Mark Elsen mark.elsen at gmail.com
Sun Dec 7 19:56:09 CET 2008


> Hello,
>
> I've got nagios installed and seems to be running ok except for one thing. I'm running https checks with "check_http" and get the expected result when I run it on the command line:
>
> ./check_http -H somehost.com -S
>
> HTTP CRITICAL: HTTP/1.1 502 Bad Gateway
>
>
> But in the UI its giving me:
>
> HTTP OK HTTP/1.1 200 OK
>
> My config runs it like this:
>
> check_command   check_http!-S -t 30
>
> Anybody have any ideas?

 Check your webserver's log file, in both case. Turn on full logging,
including request headers.

 Compare the output, may be indicative.

 M.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list