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 · 524 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 · 932 words · Me

Use Pagerduty With Home Assistant

I wanted my Home Assistant to be able to send me alerts when Bad Things are detected like water on my basement floor. I’m an SRE, and have been using PagerDuty for years, so I decided to set up a personal PagerDuty account and connect it to my Home Assistant. ...

September 17, 2022 · 5 min · 894 words · Me