Reference post: https://www.cnblogs.com/xqzt/p/5130469.html
Https://www.cnblogs.com/zoulongbin/p/6395047.html
This is the win2008 system that needs to be monitored.
1. Download the agent file
Https://www.zabbix.com/download_agents
Note: (Zabbix_agents_3.4.6.win.zip Compressed package contains two folders: One is the bin folder and the other is the Conf folder.) There are two folders in the Bin folder, one is the Win32 folder, the ZABBIX_AGENTD installer is applied to the Windows 32-bit operating system, and the Win64 folder is stored in the ZABBIX_AGENTD installer for Windows 64-bit operating system. Conf folder is the configuration file zabbix_agentd.win.conf)
2. Installation Agent
1, set up a Zabbix file under the C drive, the Zabbix_agentd.exe, Zabbix_get.exe, Zabbix_sender.exe, and Dev of the Win64 folder in the Zabbix_agentd compressed package just downloaded. the folder is copied to the Zabbix folder.
2, then put Conf folder zabbix_agentd.win.conf copy Zabbix folder. (The folder creation path can be customized, but later ZABBIX_AGENTD client runs the installation command needs to run according to the path created)
3. Edit the zabbix_agentd.win.conf master profile using a text editor
Take the passive mode as an example and modify the following:
Server=ip (IP address of zabbix-server) #ServerActive=127.0. 0.1 Comment out active mode debuglevel=3 turn on debug log hostname=KUAIYUN_WIN2008_A
4. Operation Service
To open cmd with administrator status
C:\zabbix\zabbix_agentd.exe-c C:\zabbix\zabbix_agentd.win.conf -i -C C:\zabbix\zabbix_ Agentd.win.conf -s #启动服务以下仅供参考 -d #卸载客户端 -x #停止客户端 -C #指定配置文件位置
5. Other Operation Test Port:
C:\zabbix\bin\win64>netstat-ano|findstr"10050"TCP0.0.0.0:10050 0.0.0.0:0LISTENING10268TCP [::]:10050[::]:0LISTENING10268C:\zabbix\bin\win64>tasklist|findstr"10268"Zabbix_agentd.exe10268Services0 6,944K
Open 10050 ports on the firewall
Control Panel--Select Windows Firewall--Advanced settings--Set inbound rules--new rule--open port TCP 10050;
Set boot up
Zabbix daily Monitoring (win_agent mode)