In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Zabbix provides rich monitoring capabilities, and if you want to use zabbix to monitor windows, you need to install zabbix-agent on windows. This blog post will introduce how to configure zabbix-agent. Net on window.
Install zabbix-agent
Before installing zabbix-agent, you need to modify the window hostname to ensure that the Windows hostname is consistent with the system hostname in the configuration file.
You can download the windows version of zabbix-agent: https://www.zabbix.com/download on the official website.
After the download is complete, unpack the zip package and create a zabbix folder under disk C. The default configuration file path for zabbix is C:\ zabbix_agentd.conf. For better management, you will choose to install it in a specified directory.
Copy the extracted zabbix_agentd.win.conf file and zabbix_agentd execution file to the C:\ zabbix directory, and modify the contents of the zabbix_agentd.win.conf file:
Server=192.168.1.250 # zabbix serverServerActive=192.168.1.250 Hostname=window-zabbix
Specify the configuration file installation on the command line:
C:\ zabbix > zabbix_agentd.exe-config zabbix_agentd.win.conf-install
The following message indicates that the installation is successful:
Zabbix_agentd.exe [3484]: service [Zabbix Agent] installed successfully
Zabbix_agentd.exe [3484]: event source [Zabbix Agent] installed successfully
Start and shut down zabbix-agent
Start:
C:\ zabbix > zabbix_agentd.exe-- startzabbix_agentd.exe [4632]: service [Zabbix Agent] started successfully
You can also start zabbix-agent 's service directly in the service.
Shut down the service:
C:\ zabbix > zabbix_agentd.exe-- stopzabbix_agentd.exe [2668]: service [Zabbix Agent] stopped successfully
After startup, you can add host to zabbix server, and then use your own Windows template.
Uninstall zabbix-agent
If you need to uninstall zabbix-agent, you can execute this command to uninstall:
Zabbix_agentd.exe-uninstall
If you specify a non-default profile path to install, execute this command:
Zabbix_agentd.exe-config-uninstall
Custom monitoring
Zabbix provides us with the basic monitoring template of Windows by default. If you want to implement custom monitoring, such as monitoring system performance counters and other information, you can do so in a custom way.
View the system information and export the results to a file, and enter at the command prompt:
C:\ Users\ Administrator > typeperf-qx > c:\ items.txt
An items.txt file is generated in the C disk directory. We can get the system status through the parameters of this file. The parameters are displayed in the file, which can be verified using the zabbix_get command (just replace the quotation marks with parameters):
Zabbix_get-s 192.168.20.55-k zabbix_get-s 192.168.60.59-k perf_counter ["] 200.000000
Zabbix_get-s 192.168.20.1-k perf_counter ["Windows-parameter"]
Then add the monitored KEY in the web interface. For example, perf_counter ["\ Process (Idle)\% Processor Time"].
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.