[Nagiosplug-help] Check_http - State Unknown
Ralph.Grothe at itdz-berlin.de
Ralph.Grothe at itdz-berlin.de
Tue Nov 27 09:54:10 CET 2007
Hi Rich,
I'm not sure if this error really is caused by too long an uri
path,
and if it instead wasn't owe to the missing trailing dollar sign
of the $HOSTNAME$ macro
in your check command definition?
Also, are you really querying a vhost where it is required to
pass the Host: attribute in the HTTP request header.
Otherwise I would prefer the webserver's IP address (or -I
$HOSTADDRESS$) to avoid DNS lookups.
I am not sure if it even would work against a vhost to stick with
the IP address but additionally supply something like -k "Host:
vhost-name:vhost-port" ?
> -----Original Message-----
> From: nagiosplug-help-bounces at lists.sourceforge.net
> [mailto:nagiosplug-help-bounces at lists.sourceforge.net]On
> Behalf Of Rich
> Smith
> Sent: Monday, November 26, 2007 10:25 PM
> To: nagiosplug-help at lists.sourceforge.net
> Subject: [Nagiosplug-help] Check_http - State Unknown
>
>
> Hi All:
>
> Running the following check_http:
> ./check_http -H hostname -u
> '/amserver/UI/Login?service=adminconsoleservice&goto=/amconsol
> e/base/AMAdminFrame&IDToken1=testuser&IDToken2=testpassword'
>
> I get the following results:
> HTTP OK - HTTP/1.1 302 Moved Temporarily - 0.232 second
response time
> |time=0.232467s;;;0.000000 size=750B;;;0
>
> When I include this in the commands.cfg as:
>
> define command{
> command_name check_sso_http
> command_line $USER1$/check_http -H $HOSTNAME -u
> '/amserver/UI/Login?service=adminconsoleservice&goto=/amconsol
> e/base/AMAdminFrame&IDToken1=testuser&IDToken2=testpassword'
> }
>
> I get the following error result:
> State Unkown: Supplied path too long unix domain socket
>
> Is there any way to debug this?
>
> Thanks,
> Rich
>
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting
> any issue.
> ::: Messages without supporting info will risk being sent to
/dev/null
>
More information about the Help
mailing list