[Nagiosplug-devel] [ nagiosplug-Feature Requests-731555 ] arbitrary headers in check_http
SourceForge.net
noreply at sourceforge.net
Fri May 2 12:36:57 CEST 2003
Feature Requests item #731555, was opened at 2003-05-02 14:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
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.
----------------------------------------------------------------------
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