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

Fix APT commands to correctly detect security updates #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jarilammi
Copy link

@jarilammi jarilammi commented Sep 6, 2023

This pull request addresses an issue where the zabbix-agent configuration was incorrectly detecting security updates in Ubuntu Jammy. The previous commands were not working as expected, resulting in zero results. To fix this, I have updated the APT commands to use 'dist-upgrade' and refined the regular expressions to accurately detect security updates.

I have tested these changes on Ubuntu Jammy and Debian Bullseye and confirmed that they now correctly identify security updates. The configuration is now in line with best practices for managing security updates.

Fixes #5

Tested on: Ubuntu 22.04.3 LTS (Jammy Jellyfish), Debian 11.7 (Bullseye)

This commit updates the APT commands used to detect security updates in the zabbix-agent configuration. The previous commands were not correctly identifying security updates in Ubuntu Jammy. The new commands use 'dist-upgrade' and the correct regular expressions to ensure accurate detection of security updates.
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 this pull request may close these issues.

missing some updates
1 participant