1. Download Zabbix client software: Www.zabbix.com/downloads/2.2.0/zabbix_agents_2.2.0.win.zip
2. Build a folder named Zabbix in the C drive and copy the extracted files to the Zabbix folder, then copy the program under Conf directly to the C drive and rename it to zabbix_agentd.conf
3. Modify Zabbix_agentd.conf
server=192.168. 1.129 According to the actual change to Zabbix server address serveractive=192.168. 1.129 according to the actual change to Zabbix server address Hostname=windows-lbc7bek This is changed to the host name of the Windows host, which can be found in My Computer-Properties-Computer name
4. Open the CLI command-line window as an administrator and run the following command:
c:\windows\system32> cd C:\zabbix\bin\win64 into the Zabbix directory c:\zabbix\bin\win64> Install the Zabbix client, notice that the following information is installed to see if the installation was successful Zabbix_agentd.exe [18388]: Service [Zabbix Agent] Installed Successfullyzabbix_agentd.exe [18388]: Event source [Zabbix Agent] installed successfully
5. Start the Zabbix client: My Computer – Management – services and applications – services – Start the Zabbix Agent
6. Export items that can be monitored in Windows
Typeperf-qx > C:\1.txt execute this command to export monitoring items to a text file
7. Add the items you want to monitor to the Zabbix client configuration file, open the Zabbix_agentd.conf file, and add the following line:
= Userperfcountercpu,"\processor (_total) \% Processortime",3= Userperfcountercpuuser,"\processor (_total) \% Usertime",3
Description: PerfCounter is a fixed format, USERPERFCOUNTERCPU is a descriptor, can be customized, "\processor (_total) \% Processor Time" is the item to be monitored, 3 represents every 3 seconds to send data to Zabbix server to monitor, here I added two monitoring items. After setting up the configuration file, save and restart the Zabbix Agent service
8. Add the Windows host to the monitoring entry on the ZABBIX server: Configure-Create a host group-create a group named "WindowsServer" and click "Add", then you can put all the Windows hosts under this group--click " Host "--Create host
Create Template: Configuration-templates-Create templates (there are many items in the template that can be monitored, but the group does not have any monitoring items defined, because we want to add the items we need to monitor from the template to the group, and then the hosts in the group apply the monitoring items)
After creation we find the "windowsserver" template, then click "Project"-"Create monitoring item"
Because we have just defined two monitoring items, we add one more:
The monitoring item is created, and then a graphic is created to display the two monitoring items: graphics-Creating graphics
So the template is completely created, then we will apply this template to the Windows host: Configuration--Host--select "Windows7"--Template--select "WindowsServer" This template and then update
After all of the above operations are complete, you can enable the Windows host, and then you can view the specific monitoring items and graphics in "Monitoring"-"graphics"
Zabbix Monitoring Windows Clients