Daniel Swarbrick

Results 298 comments of Daniel Swarbrick

This is a pretty strong argument for ditching both the smartmon.sh bash script and the smartmon.py Python script, both of which invoke smartctl in the usual way, and parse the...

Have you considered using a dedicated exporter such as https://github.com/MindFlavor/prometheus_wireguard_exporter?

@ntavares Thanks for your contribution. As you may have noticed, we now require Python textfile collectors to use Python 3.x (Python 2.x has been EOL since January 1, 2020), and...

I'm already fairly familiar with the JSON stats in BIND, as I implemented support for it in Telegraf's BIND plugin. However, looking at the code of bind_exporter, I see that...

Did you notice the `nvme_metrics.sh` in this repo?

Isn't this already achievable with simple label matching? For example, with these source metrics: ``` # HELP apt_upgrades_pending Apt package pending updates by origin. # TYPE apt_upgrades_pending gauge apt_upgrades_pending{origin="Debian:11.4/stable",arch="all"} 2...

@manuel-held How about simply changing your query to ``` sum by(job) (apt_upgrades_pending{origin=~".*Security.*"}) or vector(0) ```

Closing, since apt.sh has been superseded by apt_info.py.

Are you able to use the smartmon.py script instead?