Cannot get check_http to authenticate

Steve Shipway s.shipway at auckland.ac.nz
Fri Dec 14 02:01:38 CET 2007


This may be obvious, but have you checked for sure that you have the
correct username and password, and that this particular username is
authorised for the URL?  You'll get a 401 if you have a valid
username/password but the directory has a require directive that
excludes the user (or excludes the IP, or something else).

 

Steve

 

I'm trying to check status on a web site which requires basic
authentication.  This is not auth from the web app, but a pop-up window
from Apache.  

My command string is:

check_http -H www.somedomain.com <http://www.somedomain.com/>  -v -a
user:pass

It always returns HTTP WARNING: HTTP/1.1 401 Authorization Required

I can successfully connect to another apache based site using the same
command string.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071214/40bd38b0/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-------------- next part --------------
_______________________________________________
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