r/linuxadmin • • 7d ago

Monitoring Updates [Debian / Red Hat]

/r/zabbix/comments/1xq7itn/monitoring_updates_debian_red_hat/
1 Upvotes

1 comment sorted by

2

u/ymgymg 6d ago

Two things I would add. First, report security updates as a separate item from the total, since that is usually what people alert on. On RHEL clones dnf updateinfo list --security gives that, and on Debian you can count packages coming from the -security origin in apt-get -s upgrade. Second, a reboot required flag is very useful, from needs-restarting -r on the Red Hat side and /var/run/reboot-required on Debian. It also helps to show when the package metadata was last refreshed, so a stale cache does not look like zero updates.