Collectd & influxdb syslog errors due to errounous HowTo
Closed this issue · 1 comments
chymian commented
when following the HowTo:
https://docs.storj.io/docs/setting-up-storj-share-on-a-raspberry-pi
the collectd throws errors like:
Sep 25 18:31:45 storj collectd[1861]: -1 1 Type `contracts' isn't defined.
Sep 25 18:31:45 storj collectd[1861]: -1 1 Type `delta' isn't defined.
Sep 25 18:31:45 storj collectd[1861]: -1 1 Type `percentused' isn't defined.
adding this 3 lines to /usr/share/collectd/types.db
contracts value:GAUGE:0:U
delta value:GAUGE:0:U
percentused value:GAUGE:0:100
like the owner has stated (https://github.com/bobey/storj-collectd-plugin), resolves this issue and brings up another one:
Sep 25 18:36:24 storj influxd[1745]: 2017/09/25 18:36:24 unable to find "contracts" in TypesDB
Sep 25 18:36:24 storj influxd[1745]: 2017/09/25 18:36:24 unable to find "delta" in TypesDB
Sep 25 18:36:24 storj influxd[1745]: 2017/09/25 18:36:24 unable to find "percentused" in TypesDB
This is due to the typesdb
definition in /etc/influxdb/influxdb.conf
the correct entry should look like:
[[collectd]]
enabled = true
bind-address = ":25826"
database = "collectd_db"
typesdb = "/usr/share/collectd/"
Please correct the HowTo