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

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.
windows-host-zabbix-server-monitor-7

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.
windows-host-zabbix-server-monitor-7a-1

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

windows-host-zabbix-server-monitor-7a-2

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

windows-host-zabbix-server-monitor-7a-3

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

windows-host-zabbix-server-monitor-7a-4

Step-4

You can see New Windows hosted added for Monitoring. For more details
windows-host-zabbix-server-monitor-7a-5
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.

About Prakash Subramanian

Prakash Subramanian is a Linux lover and has 3.5+ years of experience in linux server administration with major Linux distribution such as (RHEL, CentOS, Ubuntu). He is currently working as a Senior L2 Linux Server administrator.

View all posts by Prakash Subramanian

10 Comments on “How to add Remote windows host on zabbix server to monitor”

  1. 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.:))

    1. @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.

Leave a Reply

Your email address will not be published. Required fields are marked *