Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing some updates #5

Open
rsubr opened this issue Aug 1, 2019 · 0 comments · May be fixed by #11
Open

missing some updates #5

rsubr opened this issue Aug 1, 2019 · 0 comments · May be fixed by #11

Comments

@rsubr
Copy link

rsubr commented Aug 1, 2019

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'
@jarilammi jarilammi linked a pull request Sep 6, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant