[Nagiosplug-devel] [ nagiosplug-Feature Requests-731555 ] arbitrary headers in check_http
SourceForge.net
noreply at sourceforge.net
Fri May 2 16:33:44 CEST 2003
Feature Requests item #731555, was opened at 2003-05-02 14:30
Message generated for change (Comment added) made by nriley
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=731555&group_id=29880
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Nicholas Riley (nriley)
Assigned to: Nobody/Anonymous (nobody)
Summary: arbitrary headers in check_http
Initial Comment:
For some servers I monitor, a normal HTTP request will
not succeed; it's necessary to add a particular HTTP
header to get it to work. I've modified my copy of
check_http to send this header, but it would be easier
if it provided an option similar to wget's --header, to
send an arbitrary header. It would look something like
this:
check_http -I my.broken.server -h 'Foo: Bar'
and check_http would send:
GET / HTTP/1.0
Host: my.broken.server
User-Agent: check_http...
Foo: Bar
This seems simple enough that I'm not sure it's worth
the trouble to submit a patch, but if you want one, let
me know.
----------------------------------------------------------------------
>Comment By: Nicholas Riley (nriley)
Date: 2003-05-02 18:32
Message:
Logged In: YES
user_id=34933
OK, here you go.
----------------------------------------------------------------------
Comment By: Subhendu Ghosh (sghosh)
Date: 2003-05-02 15:18
Message:
Logged In: YES
user_id=46572
patches always help speed up the process.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=731555&group_id=29880
More information about the Devel
mailing list