[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 :
https://github.com/theranger/zabbix-apt

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
Works for apt, yum. It could be used both ways, using Zabbix scripts to execute the upgrade. Though, I have pending to upload some latest fixes to errors that I introduced in my last commit.

Generated at Wed Jun 03 19:47:48 EEST 2026 using Jira 10.3.18#10030018-sha1:5642e4ad348b6c2a83ebdba689d04763a2393cab.