bobey / storj-collectd-plugin

A collectd exec plugin to monitor your Storj.io nodes
http://blog.overnetcity.com
MIT License
12 stars 1 forks source link

influxd unable to find "contracts, delta, percentused" in TypesDB #10

Open chymian opened 6 years ago

chymian commented 6 years ago

after adding

contracts               value:GAUGE:0:U
delta                   value:GAUGE:0:U
percentused             value:GAUGE:0:100

to /usr/share/collectd/types.db (there are erroneous HowTos out there in the wild, like the one I followed https://docs.storj.io/docs/setting-up-storj-share-on-a-raspberry-pi ) I get this influxd errors in the log:

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 error goes away when typesdb = "/usr/share/collectd/" is used instead of typesdb = "/usr/share/collectd/types.db"

I leave it here for reference. bug opened with storj https://github.com/Storj/storj.io/issues/96 System: debian stretch,

collectd 5.7.1
influx --version
InfluxDB shell version: 1.3.5
bobey commented 6 years ago

@chymian Thanks for the clarification. Do we need to update something of this repository?