storj_telegraf_mon icon indicating copy to clipboard operation
storj_telegraf_mon copied to clipboard

Integrate New API

Open gsxryan opened this issue 5 years ago • 7 comments

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 avatar Aug 30 '19 01:08 gsxryan

https://github.com/xyphos10/StorjScripts

gsxryan avatar Sep 09 '19 23:09 gsxryan

https://github.com/Krey81/Storj

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

gsxryan avatar Sep 11 '19 00:09 gsxryan

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

gsxryan avatar Oct 17 '19 00:10 gsxryan

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 avatar Nov 24 '19 13:11 JeromeGillard

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?

JeromeGillard avatar Nov 27 '19 13:11 JeromeGillard

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 avatar Jan 26 '20 19:01 gsxryan

https://github.com/ReneSmeekes/storj_success_rate

gsxryan avatar Apr 22 '20 15:04 gsxryan