Zabbix WMI监控

检查Windows OS是否激活,5表示处于通知模式,1表示已激活

wmi.get[rootcimv2,select LicenseStatus FROM SoftwareLicensingProduct WHERE Description like '%Windows%' and ProductKeyID like '%-%']

检查以下补丁是否已安装,未反正返回空值

wmi.get[rootcimv2,select HotFixID from Win32_QuickFixEngineering where (HotFixID = 'KB4012212') OR (HotFixID = 'KB4012213') Or (HotFixID = 'KB4012214') Or (HotFixID = 'KB4012215')]
原文地址:https://www.cnblogs.com/dreamer-fish/p/10566185.html