[collectd] Curl Header

Marc Fournier marc.fournier at camptocamp.com
Fri Dec 9 12:28:26 CET 2016


Hello,

Poil <poil at quake.fr> writes:
> It does not seem possible to pass a custom header in the curl plugins 
> documentation (Like a header: host) .
>
> But when I check the source code, what I understand is it seems 
> possible, anyone can confirm or not ? (and have an example ?)

I just double-checked on collectd 5.6, but as far as I can tell, this
feature works, for all 3 curl, curl_json and curl_xml plugins. Also, the
documentation/examples are correct.

This feature has been introduced in version 5.3. Are you running a recent
enough version ?

Marc



More information about the collectd mailing list