TEST CASE:
Modify /etc/collectd/collectd.conf and add for instance:
<Plugin curl_json>
<URL "file:///var/lib/transmission-daemon/info/stats.json">
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
========================================
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 ======= ======= ======= ======= =====
=======