[ZBXNEXT-8619] Pending Linux updates Created: 2023 Aug 07 Updated: 2024 Nov 08 |
|
| Status: | Open |
| Project: | ZABBIX FEATURE REQUESTS |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature Request | Priority: | Low |
| Reporter: | Leonardo Savoini | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
It exists system.sw.packages.get to get packages already installed. But what about for updates pending? Additionally, as parameter to specify if are common updates or security.
apt list --upgradable | grep -i security sudo yum list updates security Include this into the Agent2, and avoid setting up user parameters or allowed keys on each machine will be a great addition. Finally, add a trigger to the template to warn about how many updates are pending, and since when (for escalation, more than a month you really need to update if possible). |
| Comments |
| Comment by Florian E. [ 2024 Nov 08 ] |
|
In the mean time, this works OK, with minimum manual configuration on each host : |
| Comment by Leonardo Savoini [ 2024 Nov 08 ] |
|
Not to brag, but I started to develop something with Ansible and Python, to gather and push data to Zabbix. You just need access from where you are executing the ansible playbook to the rest of the machines. https://github.com/zingaya/zbx_linux_security_compliance |