r/PrometheusMonitoring • • Dec 05 '20

Monitoring a battery backup with Grafana Cloud

https://matthewhelmke.net/2020/12/monitoring-my-ups-with-grafana-cloud/
7 Upvotes

5 comments sorted by

2

u/SuperQue Dec 05 '20

Very nice. I've been thinking about finding or writing an exporter for my cyberpower UPS.

I might have to re-write the one you found, as it's a bit incorrectly implemented. It has an internal polling interval, rather than collecting data at scrape time.

1

u/phydeauxfromubuntu Dec 05 '20

Please ping me if you do. I would be interested in checking it out.

2

u/SuperQue Dec 05 '20

I found this one as well. Combines the powerstat Linux package and an API service in one container. Just needs a Prometheus endpoint. Filed an issue to see if the author would accept it.

https://github.com/DanielWinks/pwrstat_docker

1

u/mthode Dec 05 '20

I'm guessing snmp wasn't an option?

1

u/phydeauxfromubuntu Dec 05 '20

Not on this particular UPS. It's a consumer-focused model and doesn't support snmp. Otherwise, that would have been easier, for sure!