Fleet — APT Upgrades
Pending, security, held and autoremove APT upgrade counts plus reboot-required state per host, from the node_exporter apt textfile collector. Filter with the dashboard_instance variable. Part of the oyatrino-o11y-labs reference stack.
Fleet patch-state at a glance for Debian/Ubuntu hosts: how many upgrades are pending (and how many are security), held packages, auto-removable cruft, and which hosts need a reboot. A generic port of grafana.com/dashboards/23777.
Panels / metrics
apt_upgrades_pending(total +origin=~".*security.*"for security-only)apt_upgrades_held,apt_autoremove_pendingnode_reboot_required(per host)
Requirements
node_exporterwith--collector.textfileenabled.- The apt
textfile-collectorscript (fromprometheus-node-exporter-collectors) writing to the textfile dir on a timer. - A reboot-required textfile script for
node_reboot_required(checks/run/reboot-required). - A
dashboard_instancelabel on the targets.
Variables
datasource: Prometheus data source.dashboard_instance: selects the fleet member(s).
Data source config
Collector type:
Collector plugins:
Collector config:
Revisions
Upload an updated version of an exported dashboard.json file from Grafana
| Revision | Description | Created | |
|---|---|---|---|
| Download |