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.



-------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to