Open
Description
Thanks for this Zabbix template!
I'm running Ubuntu 18.04 LTS, Zabbix 4.0 and the latest version of this template. Some updates were not detected.
The attached log file apt-upgrade-log.txt shows the output of apt-get -s upgrade
and apt-get -s dist-upgrade
on my machine.
To fix this, in apt.conf
, I had to change the apt command to apt-get -s dist-upgrade
to detect the missed updates.
#/etc/zabbix/zabbix_agentd.d/apt.conf
UserParameter=apt.security,apt-get -s dist-upgrade | grep -ci ^inst.*security | tr -d '\n'
UserParameter=apt.updates,apt-get -s dist-upgrade | grep -iPc '^Inst((?!security).)*$' | tr -d '\n'
Metadata
Metadata
Assignees
Labels
No labels