News
Seven days of Black Friday madness — great deal from Serverspace!
Serverspace Black Friday
WT
January 23, 2023
Updated June 7, 2023

Installing Zabbix agent on Windows

Monitoring Windows Zabbix

Using another OS?

Select the desired version or distribution.

Zabbix can monitor all kinds of systems so let’s see how to look after our windows servers. To do so we will download an agent program and configure it to send data to our server.

To install it we’ll need to get the template configuration file and installer at Zabbix official site.
https://www.zabbix.com/download_agents
Choose the file compatible with your configuration and Zabbix version and download it. (6.0 LTS in this example’s case).

Win agent 1

There are two ways to install the agent, via MSI installer or manually by extracting it from the archive. Let’s see into both

MSI installation

Proceed to installation, and enter your hostname and Zabbix server address, enabling PSK (Pre-Shared Key) won’t allow monitoring this server’s data until the agent gets a pre-shared key from the server trying to do so, we will see into this in other articles. Hit next until installation is complete.

Win agent 2

And finally, let’s check if our Zabbix server sees this host

Win agent 2.5

Everything is alright.

Archive Installation

РThis way may be useful if you want to make it automatic in any way or have other preferences.
After you download the archive file, extract all of its contents into a folder you want your agent installed in.
By default, the agent wants its config file in C:\ folder, so take zabbix_agentd.conf file from the \bin folder and put it there.
Let’s edit it a little: We want to change the Server option to our Zabbixix server’s IP.

Win agent 3

Next, run command prompt as an administrator and run \zabbix_agentd.exe -h to see a complete list of commands.

Win agent 4

Now add -i key to install the service, also you can change the location where it will look for .conf file with -c.

Win agent 5

Win agent 6

After that run zabbix_agentd.exe -s to start the service
Start → services check if agent service is running and the startup type is automatic.

Win agent 7

And now go to control panel→ windows defender firewall, allow another app, and add agent into allowed apps.

Win agent 8

Summary

In this article, we learned how to install the Zabbix agent on Windows to start our monitoring.

Vote:
4 out of 5
Аverage rating : 4
Rated by: 4
1101 CT Amsterdam The Netherlands, Herikerbergweg 292
+31 20 262-58-98
700 300
ITGLOBAL.COM NL
700 300
We use cookies to make your experience on the Serverspace better. By continuing to browse our website, you agree to our
Use of Cookies and Privacy Policy.