How to add Remote windows host on zabbix server to monitor
We have already covered in our previous article, Zabbix installation on RPM based systems such as CentOS & RHEL and Zabbix installation on DEB based systems such as Debian, Ubuntu & Mint, also refer Adding Zabbix Remote Linux Host . For Monitoring Linux/Windows hosts in Zabbix Server, We need to install Zabbix Agent to our Remote Linux/Windows systems. What Zabbix Agent does ? Zabbix Agent collects all the data such as (CPU usage, memory usage, network usage, http usage, etc…) and send the reports to Zabbix Server. Here I’m going to show your how to add remote windows host on zabbix server to monitor
1) Download windows Zabbix agent
2) Extract Zabbix agent
In windows C: is proper location for software source. So, i’m going to extract the zip file to C:
# Zabbix Agent 2.4.4 Extracted location # C:\zabbix_agents_2.4.1.win>
3) Create Zabbix Agent Configuration File
Create Zabbix Agent Configuration File in C:\zabbix_agentd.conf. For that, you have a sample template file at C:\zabbix_agents_2.4.0.win\conf\zabbix_agentd.win.conf just copy the file and past it under C: and rename it to zabbix_agentd.conf
4) Modify Zabbix Agent Configuration
Open zabbix_agentd.conf file in your specific text editor and make below necessary changes (Add your Zabbix Server IP and add Zabbix Agent hostname) and save + Close.
5) Installing Zabbix Agent
Run the below command to install Zabbix Agent on your windows host.
# Installing Zabbix Agent in windows # C:\zabbix_agents_2.4.4.win\bin\win64> zabbix_agentd.exe --install zabbix_agentd.exe : service [Zabbix Agent] installed successfully zabbix_agentd.exe : event source [Zabbix Agent] installed successfully # Starting Zabbix Agent in windows # C:\zabbix_agents_2.4.4.win\bin\win64> zabbix_agentd.exe --start zabbix_agentd.exe : service [Zabbix Agent] started successfully
6) Checking service status
7) Adding windows server group
Last time, when i am adding Linux Host i didn’t see Windows Server group. So, now i’m going to add windows server group for adding windows server. Login to Zabbix Server web interface and fallow the below procedure.
7a) Adding New host in Zabbix server
Login to Zabbix Server web interface.
- Go to Configuration Main menu
- Click Hosts Sub menu
- Then, Create Host button
- Enter your Original Host Name
- Enter any name which is usually shown as your host name
- Add Windows Servers group
- Add Zabbix Server IP
- Tick Enabled Check box to monitor the host
- Click Templates
- Click Select to add new template
- Choose Template OS Windows because i’m going to add linux host
- Select the Template
- Add button to add the Template to new hosts
- Click Update to complete the process
You can see New Windows hosted added for Monitoring. For more details
We are preparing all articles in-depth to understand by all level/stage Linux administrators. If the article is useful for you, then please spend less than a minute to share your valuable comments in our commenting section.
Please stay tune with us…Good Luck.