Windows/Powershell version of the script:
Linux/Bash version of the script:
Grafana dashboard monitor of the script:
Daily Email Version:
I found the current monitoring scripts very difficult to determine trends. And I was feeling like learning some better .bash. I created this script to better measure the ratios of successful transfers over time. I plan to have this run periodically, and send the results to a influxDB for Grafana monitoring.
Please share your results and hardware!
It currently runs against the docker logs since last RUN.
Of course, this presents new challenges when measuring historically (all-time, since last storagenode run, or last 24hrs). I still have to think how that might work, but at least for now, this could be used to see if it’s trending up or down within short periods of time.
- Save to AuditRates.sh
- sudo chmod +x AuditRates.sh
- sudo ./AuditRates.sh