Page if service is up

Anders Holm anders.holm at elivefree.net
Mon Dec 15 16:26:56 CET 2003


Hi Folks.

Why do I suspect that the plugin doesn't have proper authorization to 
read the page in question?

 >>HTTP ok: HTTP/1.0 401 Unauthorized [...]

Is it possible to set username and password to be submitted, perhaps? 
Haven't used this plugin myself, but just thought I'd give my take on 
what this problem is....

//Anders//

Marc Powell wrote:

> 
>>-----Original Message-----
>>From: Carl Schelin [mailto:cschelin at hq.nasa.gov]
>>Sent: Monday, December 15, 2003 8:34 AM
>>To: Marc Powell
>>Cc: nagios-users at lists.sourceforge.net
>>Subject: Re: [Nagios-users] Page if service is up
>>
>>Marc,
>>
>>   Thanks. negate doesn't seem to be working as expected or else I'm
>>throwing too many arguments at it:
>>
>>./negate check_http -S [server] -p [port] -e "HTTP/1"
>>HTTP ok: HTTP/1.0 401 Unauthorized -   0.443 second response time
>>|time=  0.443
>>
>>./check_http -S [server] -p [port] -e "HTTP/1"
>>HTTP ok: HTTP/1.0 401 Unauthorized -   0.439 second response time
>>|time=  0.439
>>
> 
> 
> 
> That's very odd. The bad thing is that I'm seeing the same behavior with
> the plugins pulled from CVS on 12/3 --
> 
> [root at gemini plugins]# ./negate /usr/local/nagios/libexec/check_http  -H
> <myHost> -I <myIP> -s HTML
> HTTP ok: HTTP/1.1 200 OK - 0 second response time 
> [root at gemini plugins]# /usr/local/nagios/libexec/check_http  -H <myHost>
> -I <myIP> -s HTML
> HTTP ok: HTTP/1.1 200 OK - 0 second response time
> 
> The plugin is very very simple but I've never really used it. I can't
> imagine how it could be operator error but one never knows. Is there
> anyone out there on the list that uses negate that could provide some
> insight?
> 
> --
> Marc 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> 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



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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