check_http and unauthorized.

Mark D. Nagel mnagel at willingminds.com
Thu Aug 12 17:09:35 CEST 2004


Jan Johansson wrote:

>Thanks, but I still get the warning in this fashion. 
>
>hooch:/var/log/nagios# /usr/lib/netsaint/plugins/check_http -H portal-1
>-e 401
>HTTP WARNING: HTTP/1.1 401 Unauthorized
>hooch:/var/log/nagios# /usr/lib/netsaint/plugins/check_http -H portal-1
>-e 404
>Invalid HTTP response received from host
>hooch:/var/log/nagios#
>  
>
What version of plugins do you have?  Here's my results:

[root at mindseye nagios]# /usr/lib/nagios/plugins/check_http -H somehost 
-e 401
HTTP ok: HTTP/1.1 401 Access Denied -   0.004 second response time 
|time=  0.004

[root at mindseye nagios]# /usr/lib/nagios/plugins/check_http -V
check_http (nagios-plugins 1.3.1) 1.24.2.4

Mark

-- 
Mark D. Nagel, CCIE #3177 <mnagel at willingminds.com>
Principal Consultant, Willing Minds LLC
tel: 714-630-4772, fax: 714-630-4773, web: http://www.willingminds.com/



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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