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
You can directly download the windows Zabbix agent package from Zabbix website. For 2.4.4 windows zabbix agent file.
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.
Server=192.168.1.137 Hostname=windows.2daygeek.com
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 [3656]: service [Zabbix Agent] installed successfully zabbix_agentd.exe [3656]: 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 [7792]: service [Zabbix Agent] started successfully
6) Checking service status
Start >> in RUN box >> services.msc >> Enter >> See bottom of the page. You will see the below screen shot.
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.
Step-1
- Go to Configuration Main menu
- Click Hosts Sub menu
- Then, Create Host button
Step-2
- 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
Step-3
- 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
Step-4
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.
Hi All,
I have installed Zabbix in CentOS.The configuration part is over.But the Windows host is not reach the zabbix server.And let me how to use the Zabbix.It is fully different than Nagios..
Thanks in Advance.:))
@Vijay,
Yes, it’s completely different from nagios. Everything is a graph in Zabbix it will give you better details compared with nagios.
For windows host not reach ? I didn’t face any issue while configuring, can you follow the article carefully once again and update your feedback.
how to install zabbix web interface in windows plz help me ???
@Amaad,
I didn’t tried, please google it and get the document.
supar , very usefull for starters
@Jack,
Your words giving good confident to us to make more posts.
Super very useful to me , i am just atarting to learm zabbix
@Jack,
Nice to hear.
@kiran,
When you choose “Windows OS template” while adding host, you can see all the service and hardware activity.
how to monitor disk spaces / filesystems on windows PC( windows 7 ver)