-
Notifications
You must be signed in to change notification settings - Fork 199
Description
Hello,
Thank you for all your great work! For the record, I'm new to node exporter. I get the apt monitor automatically installed when I install prometheus-node-exporter now, I assume that's coming from this repo.
Anyway. Linux Mint has not been creating /var/run/reboot_required for some time, since Mint 20 in 2020. It creates /var/run/do-not-hibernate instead, for whatever reason.
Source: https://forums.linuxmint.com/viewtopic.php?t=339377
These are the only metrics I'm actually seeing being published in /var/lib/prometheus/node-exporter/apt.prom:
apt_upgrades_held: Accurate
apt_autoremove_pending: Accurate
apt_package_cache_timestamp: Can't verify but assume accurate
node_reboot_required: Published, but inaccurate due to the reboot_required -> do-not-hibernate issue described above
There's only one Apt Monitor dashboard I can find on Grafana Labs (which unfortunately doesn't seem to have a panel for any of the info published above except for the inaccurate reboot_required, so it's useless to me atm). That dashboard - https://grafana.com/grafana/dashboards/17697-apt-monitoring/ - seems to expect apt_upgrades_pending and apt_security_upgrades_pending, neither of which I am seeing published in apt.prom.
If there's some sort of additional configuration I needed to do to get those extra parameters published, please let me know. I am currently testing just what gets auto-configured by installing prometheus-node-exporter.