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

Not sending metrics? #1

Open stobias123 opened 7 years ago

stobias123 commented 7 years ago

collectd logs show that it's failing with the below error. Any pointers on where to start troubleshooting?

May 21 19:08:03 nuc collectd[31198]: 0 Success: 1 value has been dispatched.
May 21 19:08:03 nuc collectd[31198]: -1 Type `restarts' isn't defined.
May 21 19:08:03 nuc collectd[31198]: -1 Parsing the values string failed.
May 21 19:08:03 nuc collectd[31198]: parse_value: Failed to parse string as gauge: undefined.
bobey commented 7 years ago

I recommend to simplify your collectd config to a minimum. Just enable network plugin, storj plugin and a few ones to analyse disks and cpu usage, nothing else.

Then try again.

stobias123 commented 7 years ago

This only appears when I add the below lines.. if I remove them collectd doesn't complain

peers                   value:GAUGE:0:U
shared                  value:GAUGE:0:U
restarts                value:GAUGE:0:U
bobey commented 7 years ago

What is your system? What is the version of collectd you use?