1. Download the Zabbix Windows client zabbix-agent
Http://www.zabbix.com/downloads/2.2.0/zabbix_agents_2.2.0.win.zip
2. Unzip the downloaded file, copy the *.exe from the bin directory to the C:\zabbix directory, conf the configuration file agent.conf copy to the root directory of the C drive.
3. Modify the configuration file agent.conf:
Modify the IP address of the server server=10.1.1.51
Modify the machine name of the local hostname= computer
4. Install the Zabbix Windows client:
CD C:\zabbix
Zabbix_agentd.exe--install
5. Open run, enter services.msc into Windows service, start zabbix-agent
6. View all the monitoring items for Windows.
TYPEPERF-QX >c:\xx.txt
7. Add a monitoring item to a configuration file in Windows Zabbix-agent
PerfCounter = Userperfcountercpu, "\processor (_total) \% Processor Time", 3
Explain:
PerfCounter: Fixed format
=: There must be spaces on both sides of the equals sign
USERPERFCOUNTERCPU: Name (arbitrary fetch)
"\processor (_total) \% Processor Time": monitoring items
The last 3 is: Get once every 3 seconds
8. Restart the Zabbix-agent service when you are finished adding.
9. Create a window host group on the Zabbix server.
10. Create host on Zabbix server
This article from "Wang Jiadong elder brother" blog, declined reprint!
Zabbix Monitoring Windows Server