Store NUT metrics in Prometheus so we can display them with Grafana

I ordered a second UPS because thanks to PeaNUT, I saw that my current UPS is only providing 20 minutes of uptime. Unfortunately, as of this post, PeaNUT will only read one UPS’ metrics from Network UPS Tools per PeaNUT instance, so I’m going to start scraping the metrics into Prometheus and displaying them with Grafana. Here’s how I did it. ...

April 21, 2024 · 3 min · 546 words · Me

Set up nut-upsd and peanut in your homelab

Set up nut-upsd and peanut in your homelab I run my Synology server and network switches off a UPS. I decided I wanted a dashboard for the UPS, here’s how I did set up Network UPS Tools, aka NUT, and the PeaNUT dashboard. ...

April 6, 2024 · 5 min · 949 words · Me