Zabbix WMI监控

 

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

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

 

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

wmi.get[root\cimv2,select HotFixID from Win32_QuickFixEngineering where (HotFixID = 'KB4012212') OR (HotFixID = 'KB4012213') Or (HotFixID = 'KB4012214') Or (HotFixID = 'KB4012215')]
相关文章
相关标签/搜索