Zabbix監控Windows事件日誌

2021-09-07 07:15:02 字數 626 閱讀 7629

1.zabbix_agentd.win檔案修改:

logfile=c:\zabbix\zabbix_agentd.log

server=1.16.2.4

serveractive=1.16.2.4

hostname=1.16.3.6

#該值必須和host裡面建立的該host的host name一致,不加該句預設為該主機的計算機名稱,不加這個會出現「accessible only as active check」錯誤

hostmetadataitem=system.uname

timeout=30

enableremotecommands=1

###########################################

userparameter=check_windows[*],powershell c:\zabbix\script\check_windows.ps1 $1

2.新建item(active):

3.新建trigger:

60s內不再出現該日誌則自動恢復

zabbix監控windows步驟

windows安裝agent 1 zabbix agents 2.4.4.win.zip 解壓至c盤根目錄,出現bin,和conf目錄 2 修改zabbix agent的配置檔案 用寫字板開啟c conf zabbix agentd.win.conf server 127.0.0.1 改為 serv...

zabbix監控windows案例

配置與安裝,配置zabbix agent相關配置。找到conf下的配置檔案 zabbix agentd.win.conf 修改logfile server hostname這三個引數。具體配置如下 logfile d zabbix agent4 zabbix agentd.log server za...

Zabbix監控Windows主機

zabbix agents 3.0.0.win.zip 二,解壓 找到conf下的配置檔案 zabbix agentd.win.conf 修改logfile server serveractive hostname這四個引數。具體配置如下 logfile c zabbix agentd.log se...