gsxryan / storj_telegraf_mon

StorJ V3 Node Health and Success Rates output | to custom Grafana Dashboard for continuous monitoring and alerts | using telegraf inputs.exec [TIG stack]
26 stars 6 forks source link

Integrate New API #21

Open gsxryan opened 5 years ago

gsxryan commented 5 years ago

Audit Rate Alert at < 75%, critical at < 60%

curl -s http://localhost:14002/api/satellite/118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW | jq .data.audit.score

https://pastebin.com/mtn8XKtX

https://forum.storj.io/t/storage-node-dashboard-api/1270

https://forum.storj.io/t/storage-node-dashboard-service-error-sql-expected-13-destination-arguments-in-scan-not-12/1355

gsxryan commented 5 years ago

https://github.com/xyphos10/StorjScripts

gsxryan commented 5 years ago

https://github.com/Krey81/Storj

https://forum.storj.io/t/storage-node-dashboard-api/1270/30

gsxryan commented 5 years ago

https://forum.storj.io/t/not-getting-any-audits-on-satelite-121rt/2249

JeromeGillard commented 4 years ago

Addressed in PR #25. At the moment, only disk space and bandwidth data are extracted. I don't know what to do with Satellite data.

JeromeGillard commented 4 years ago

Only disk space and bandwidth data are extracted, and parsed with Telegraf's JSON parser. I cannot ask for satellites scores because my telegraf container does not have tools to parse JSON with bash. For instance, https://github.com/xyphos10/StorjScripts/blob/master/checkapi.sh is quite an elegant solution but Telegraf misses jq. Any suggestion?

gsxryan commented 4 years ago

Nice work on PR #25. Will keep this issue open for further investigation into sat health and other API metrics. I'll try to look into this next.

gsxryan commented 4 years ago

https://github.com/ReneSmeekes/storj_success_rate