Zabbix template for checking if there are some updates to apply.
Works for Zabbix 6.0 Active Agent
You need to allow remote commands for this template to work. No additional script need to be installed on the agent side.
A more complete Zabbix script/template for Windows Update monitoring https://github.com/SpookOz/zabbix-winupdates