In most cases, the on-line servers are Linux systems, but occasionally there are Windows machines. Below is a brief introduction to the following Zabbix adding Windows Monitor:
1) Download zabbix_agent for Windows
: https://www.zabbix.com/download (select download for Windows (all)) cloud disk Download: Https://pan.baidu.com/s/1qYSIIPe Extract Password: fa7k
Unzip Zabbix_agents_3.0.4.win.zip to D, two directories after decompression:bin and Conf
The bin directory will have both Win32 and Win64 folders, depending on the version of the Windows system itself.
2) Modify the zabbix_agentd.win.conf configuration file in the Conf file:
Logfile=d:\zabbix_agentd.log
IP address of server=192.168.10.10//zabbix server
serveractive=192.168.10.10
IP address of the hostname=192.168.10.90//windows client
3) use cmd command line to install Start-C Specify configuration file
Parameters:-Iinstallation,-s start,-X stop,-D uninstall
installation command:
c:\users\admin> D:\zabbix_agent\bin\win64\zabbix_agentd.exe-c D:\zabbix_agent\conf\zabbix_agentd.win.conf-i
Zabbix_agentd.exe [252]: Service [Zabbix Agent] installed successfully
Zabbix_agentd.exe [252]: Event source [Zabbix Agent] installed successfully
Start command:
c:\users\admin> D:\zabbix_agent\bin\win64\zabbix_agentd.exe-c D:\zabbix_agent\conf\zabbix_ Agentd.win.conf-s
Zabbix_agentd.exe [4796]: Service [Zabbix Agent] started successfully
It is important to note that:
- It's a good idea to shut down the Windows client's firewall (or turn on port 10050)
- To ensure that the Zabbix server is able to telnet through the Windows client's port 10050
-------------------------------- Monitor the CPU usage percentage of Windows machines and trigger alarms at CPU usage above 90% ---------------------------
Since there is no CPU utilization (percentage) in the Zabbix module, monitoring of CPU percentage can be achieved by adding counters. The following are the specific practices:
1) Click "Configure", "Templates", "Template OS Windows", "Monitoring Items", "Create monitoring items"
Name: CPU ulimitization Key value: Perf_counter[\processor (_total) \% Processor time] Data type: numeric (floating point) unit:% Data update interval (seconds): 30 Application Set: CPU
2) "Graphics", "Creating graphics"
3) "Trigger", "CREATE TRIGGER"
After adding, wait a while to view the following monitor chart effect:
Distributed Monitoring System zabbix-3.0.3-add Windows Monitoring host