Zabbix is a Open-Source platform for monitoring network devices as well as servers and workstations in real time.
Zabbix Agent is installed on remote systems to remote monitor a workstation or a server through Zabbix server. The Zabbix agent collects data and resource utilization as well as applications data on client system and provides information to zabbix server and to the monitoring Zabbix dashboard.
In this article I will show you how to install the Zabbix Agent Service on a Windows System.
Step 1. Download the Zabbix Agent Source Code.
Download latest windows Zabbix Agent Source Code from zabbix official site.
After downloading the code, extract it on your system in drive C.
In my case i have extracted it at c:\zabbix_agents_2.4.0.win\
Step 2: Create Agent Configuration File
You will have to create a zabbix agent configuration file in c:\zabbix_agentd.conf.
A sample is available in c:\zabbix_agents_2.4.0.win\conf\zabbix_agentd.win.conf . Just copy it in drive C so you will have: c:\zabbix_agentd.conf
Now edit configuration and update with the following values:
#Server=[zabbix server ip]
#Hostname=[Hostname of client system ]
Step 3: Install Zabbix Agent as a Windows Service
We will have to install zabbix agent as windows service by executing following command from CMD (Command Prompt) from command line.
From CMD change your directory to: c:\zabbix_agents_2.4.0.win\bin\win64
Use the following command:
Now when you changed the directory, use the following command to install the service:
You will receive the following messages:
zabbix_agentd.exe : service [Zabbix Agent] installed successfully
zabbix_agentd.exe : event source [Zabbix Agent] installed successfully
Step 4. Start the Agent Service
Use the following command to start the Zabbix Agent Service:
to stop the agent replace start with stop
You will receive the following message:
zabbix_agentd.exe : service [Zabbix Agent] started successfully
Congratulations! You have successfully installed Zabbix Agent on a Windows system.