[SRU] curl_json plugin is unable to check local files
Bug #615509 reported by
Baptiste Mille-Mathias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
collectd (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Lucid |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: collectd
when trying to access local files with curl based collectd plugins (like json), an error is created and the monitoring cannot be done.
The error in the daemon log is "curl_json plugin: curl_easy_perform failed with response code 0 (file:/
A fix is available in collectd 4.9, and I think it would be nice to have it in lucid. The fix is http://
Related branches
Changed in collectd (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
milestone: | none → lucid-updates |
Changed in collectd (Ubuntu): | |
assignee: | nobody → Baptiste Mille-Mathias (bmillemathias) |
summary: |
- curl based plugins are unable to check local files + curl_json plugin is unable to check local files |
tags: | added: lucid |
summary: |
- curl_json plugin is unable to check local files + [SRU] curl_json plugin is unable to check local files |
Changed in collectd (Ubuntu): | |
assignee: | Baptiste Mille-Mathias (bmillemathias) → nobody |
milestone: | lucid-updates → none |
status: | Confirmed → Fix Released |
Changed in collectd (Ubuntu Lucid): | |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
TEST CASE: collectd. conf and add for instance: //var/lib/ transmission- daemon/ info/stats. json">
Modify /etc/collectd/
<Plugin curl_json>
<URL "file:/
Instance "bittorrent"
<Key "downloaded-bytes">
Type "bt_bytes"
</Key>
<Key "uploaded-bytes">
Type "bt_bytes"
</Key>
</URL>
</Plugin>
restart collectd
You'll see the error "curl_json plugin: curl_easy_perform failed with response code 0 (file:/ //var/lib/ transmission- daemon/ info/stats. json)" in the log file daemon.log ======= ======= ======= ======= =====
=======