Skip to content

missing some updates #5

Open
@rsubr

Description

@rsubr

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions