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_pending
  • node_reboot_required (per host)

Requirements

  • node_exporter with --collector.textfile enabled.
  • The apt textfile-collector script (from prometheus-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_instance label on the targets.

Variables

  • datasource: Prometheus data source.
  • dashboard_instance: selects the fleet member(s).
Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies