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')]
相關文章
相關標籤/搜索