Zabbix监控
1.端口监控:
key:net.tcp.port[172.16.1.1,389]
trigger:avg 3 count = 0,high
zabbix_get -s 192.168.20.16 -k net.if.discovery
zabbix_get -s 10.16.6.6 -k check_windows[memory]
zabbix_get -s 10.16.3.3 -k perf_counter[\MSExchange Replication(*)\ReplayQueueLength]
zabbix_get -s 10.16.3.25 -k "wmi.get[root\cimv2,select HotFixID from Win32_QuickFixEngineering where HotFixID = 'KB4012213']"
zabbix_get -s 10.16.6.3 -k "wmi.get[root\cimv2,select HotFixID from Win32_QuickFixEngineering where (HotFixID = 'KB4012212') OR (HotFixID = 'KB4012213') Or (HotFixID = 'KB4012214')]"