[Nagiosplug-devel] [ nagiosplug-Patches-1323230 ] check_http proxy-authorization option
SourceForge.net
noreply at sourceforge.net
Tue Sep 22 02:39:24 CEST 2009
Patches item #1323230, was opened at 2005-10-10 12:41
Message generated for change (Comment added) made by bmirvine
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1323230&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Enhancement
Group: None
Status: Open
Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Marcel Kuiper (ku1111)
Assigned to: Thomas Guyot-Sionnest (dermoth)
Summary: check_http proxy-authorization option
Initial Comment:
I've added an option (-b, --proxy-authorization
user:password) for doing basic Proxy-Authorization with
check_http. (Plus added --authorization to the long
optionlist as the help describes)
Patch is against version 1.81 of check_httpd.c in
context diff format
Hopefully this will be incoporated in some form in a
next relelase
THNX
Marcel Kuiper
----------------------------------------------------------------------
Comment By: Bryan Irvine (bmirvine)
Date: 2009-09-21 17:39
Message:
Of course. I had a patch on friday that applied to 1.4.13. ;-)
I've now tested with 1.4.14 and it works:
-bash-3.2$ ./check_http proxy.example.com -p 8080 -u http://www.google.com
HTTP WARNING: HTTP/1.1 407 Proxy Authentication Required - 7258 bytes in
0.003 second response time |time=0.003167s;;;0.000000 size=7258B;;;0
-bash-3.2$ ./check_http -b user:pass proxy.example.com -p 8080 -u
http://www.google.com
HTTP OK: HTTP/1.1 200 OK - 5773 bytes in 0.249 second response time
|time=0.249411s;;;0.000000 size=5773B;;;0
----------------------------------------------------------------------
Comment By: Thomas Guyot-Sionnest (dermoth)
Date: 2009-09-21 15:48
Message:
This patch won't apply to the current release. Unified diff's (diff -u) are
also preferred.
I *could* apply and test it myself, but this is unlikely considering the
little time I have for that. If you can provide a patch that apply to
1.4.14 in unified diff format I will run basic tests and apply it.
Thanks
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1323230&group_id=29880
More information about the Devel
mailing list