storj_telegraf_mon
storj_telegraf_mon copied to clipboard
Disk Space and Bandwidth per month graphs not shown
I can not get any value about Disk Space and Bandwidth per month graphs, looking my web dashboard all this value are present. My telegraf.conf it seems correct on dashboard part:
[[inputs.exec]] commands = [ “curl -s 10.1.0.200:14002/api/dashboard” # Open SNO API by mapping ports when running your SNO docker instance ] timeout = “60s” interval = “1m” data_format = “json” tag_keys = [ “data_nodeID” ] name_override = “StorJHealth”
I saw this error on my telegraf log:
telegraf | 2020-04-15T12:21:00Z E! [inputs.exec] Error in plugin: invalid character ‘<’ looking for beginning of value
I think the new API no longer has that endpoint, so instead of a JSON file, it's getting an HTML 404 page, which starts with a <
. The new endpoints are located under /api/sno/
. The data structure has also changed so this project will need to be updated to reflect the changes in the API.
See this post on the Storj forums for more information.