Open gsxryan opened 5 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.
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?
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.
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