[Zabbix] 設定Zabbix Agent for Windows

之前提到如何建立Zabbix Agent去監控Linux, 現在去研究如何監控Windows.

官方有 Official Agent for windows, 然而有部份設定須要根據自己環境進行修改(設定檔名稱: zabbix_agentd.win.conf). 須留意的設定如下.

Server = <<Your_Zabbix_server_IP>>
ServerActive= <<Your_Zabbix_server_IP>>
Hostname=<<Computer_Name>>安裝指令如下:
zabbix_agentd.exe --config c:/zabbix/conf/zabbix_agentd.win.conf --install

安裝後會以Windows Service 方式存在, 所以不存在reboot 後須要自行啟動的問題.

除了利用官方Agent 外, 亦有第三方Zabbix Agent 以msi 打包, 可以利用指令安裝語法如下:

msiexec /I zabbix_agent-version.msi [HOSTNAME=hostname] [HOSTNAMEFQDN=1] [SERVER=ZabbixServerIPAddress] [LPORT=ListenPort] [SERVERACTIVE=List IP:Port] [RMTCMD=1] [/qn]

若在Windows Environment 中, 可以方便地透過Group Policy 進行批量部署.

參考資料

About C.H. Ling 260 Articles
a .net / Java developer from Hong Kong and currently located in United Kingdom. Thanks for Google because it solve many technical problems so I build this blog as return. Besides coding and trying advance technology, hiking and traveling is other favorite to me, so I will write down something what I see and what I feel during it. Happy reading!!!

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.