Download Zabbix Agent For Windows Server 2016 [Extra Quality]

2 views
Skip to first unread message

Wei Spinks

unread,
Jan 18, 2024, 2:06:19 PM1/18/24
to misrodsbhavcar

Following previous tutorials concerning the Zabbix series, this article describes how to install and set up an instance of a Zabbix agent to run as a service on Microsoft Windows systems in order to monitor your infrastructure windows environments, especially server machines.

1. The pre-compiled zip agents for Windows environments can be obtained from the official Zabbix download page and manually installed and started on the system using windows Command Prompt as in the following example:

download zabbix agent for windows server 2016


Download Ziphttps://t.co/PZzSJvxY1c



7. Almost all Windows-based systems have Windows Firewall active and running, therefore Zabbix agent port must be opened in the firewall in order to communicate with the Zabbix server.

10. In order to test if the Zabbix agent running on windows is reachable from the Zabbix server-side, use telnet or netcat command on Zabbix server against windows agent IP-Port and a Connected message should appear. Hit Enter key to generate an error message and automatically disconnect from the agent:

11. Once the windows agent has been tested from the command line and everything looks fine, go to Zabbix Server web interface, move to Configuration tab -> Hosts, and hit on Create Host button in order to add the Windows monitored host.

12. On the Host window add the FQDN of your windows agent machine in Hostname filed, add an arbitrary name to Visible name filed in order to easily identify the monitored machine on Zabbix panel, make sure the host is included in a Group Servers, and add the IP Address of your windows host in Agent interfaces filed. The Port value leaves it unchanged.

I am using HyperV on this server and have a virtual network that is connected to the virtual switch. Zabbix agent is trying to get information from my physical network on the server, and not from the virtual network that has all required information for the network (IP, DNS.. etc)

I wish the better for you! This tutorial helps me a lot! I was trying for days to enable agent on windows for my zabbix and I lost a little, but very important configuration: Choose a template for station. I searched a lot (on Zabbix Manual too) and I only found here! And now it works!

I am installing Zabbix on Ubuntu Serve 16.04. I can install everything. when I add new windows host, got some error like ERROR: Cannot add host, Incorrect arguments passed to function.. I have installed zabbix-agentd on windows and pointing to the correct ip address of Zabbix server.

I followed the guide, added success windows server into zabbix to monitor. guys after added server please reload the zabbix services and wait for whole configuration is reloaded in back end it may be take 5 min or more..

Finally, the Zabbix server will start graphing the system metrics shipped by the Zabbix agent which is residing on the Windows server host system. There are various metrics that you can monitor including network Interface statistics, CPU usage and utilization, Disk space usage and Memory utilization to mention a few.

In the agent config file, it will only accept connections (in passive mode) and make connections (in active mode) to the IP that you put there. Note that actually an agent can be both passive and active at the same time, and the two server lists are separate.

When a Zabbix agent starts up, it doesn't yet know the list of items it has been configured to check. So it will attempt to connect to the address listed in its ServerActive= setting in the zabbix_agentd.conf file.

Zabbix agents collect data from the monitored host (FileMaker Server). While Zabbix server can monitor servers and devices without the presence of an agent on the host, the amount of data you can collect, and its relevance, would be much less.

The Zabbix agent footprint is small. As an example, the screenshots below are from one of our Zabbix servers that monitors four development FileMaker Servers. Over the course of three months, the processor time for the Zabbix agent did not exceed 1% and used about 20MB of memory.

In Passive mode, the agent does not do anything at all until it is asked to do something by the Zabbix server. The communication originates from the Zabbix server and requires port 10050 (These ports can be customized as we will show later.) to open on the FileMaker Server to allow that incoming traffic.

In Active mode, the agent collects all of the required data on its own (based on the interval set for each item it collects data for) and sends that data to the Zabbix server. In this scenario all communication originates from the FileMaker Server; no ports need to be opened on the FileMaker Server. The Zabbix port 10051 needs to be open on the Zabbix server to accept the incoming data.

The Zabbix server DNS name or IP address will be used to inform the agent where to send data and as a security measure so that the agent will only respond to incoming traffic (passive requests for data, remote commands) from the Zabbix server(s) listed.

Typically, you would use the same DNS name or IP address for the Server or Proxy for Active Checks as you have for the Zabbix server DNS name earlier. This setting decides where the Agent will send the data it collects for Active items (where the agent does not get prompted by the server to collect data). In complex deployments, you could use a different Zabbix server or a Zabbix proxy for these active checks.

This setting allows Zabbix server to send commands to the FileMaker server as part of a configured Action; for instance, to restart the FileMaker Server Scripting Engine process when it fails. If you enable this setting, we also recommend enabling the setting that logs each executed remote command. But note that doing so will result in the FileMaker Server admin console credentials being included in the agent log for all of the items and remote actions that rely on the fmsadmin utility. (We cover items and actions in more detail in the Zabbix Configuration post.)

A Zabbix agent is a lightweight version of Zabbix that collects different performance data like CPU usage, memory usage, disk space usage, network interface utilization, and so on. Furthermore, it forwards this information to the server for visualization and storage.

The agent executable is located in the subdirectory bin/win32 or bin/win64 choose the one that is appropriate for your architecture and place it on some directory in the Windows machine. For simplicity, we have created a new folder C:\zabbix , but you are free to use any other directory. We will also need the configuration file, so grab the example provided at \conf\zabbix_agentd.win.conf, place it in the same directory and rename it to zabbix_agentd.conf.

Note, we are using Windows 10 in this guide.

  • Launch PowerShell as administrator.
  • Run the command below to download the Zabbix agent Windows installer. Replace the link accordingly.
cd C:\Users\\DownloadsInvoke-WebRequest -Uri `" _agent2-6.0.4-windows-amd64-openssl.msi" `-Outfile zabbix_agent2-6.0.4-windows-amd64-openssl.msi
  • Install Zabbix agent on Windows systems;
You can install by double clicking the agent installer or by using Powershell.

To launch the Zabbix agent Windows installer wizard on PowerShell;.\zabbix_agent2-6.0.4-windows-amd64-openssl.msiThe installation Wizard will launch in a few sec.Click Next and accept the End User License Agreement.

Next, Set the Zabbix agent hostname, the Zabbix server IP for active and passive checks. Ensure you define the correct hostname as this must match the hostname while adding the host to Zabbix server for monitoring.On Custom setup, just click Next.

Zabbix agent listens on port 10050/tcp by default;Get-NetTCPConnection where Localport -eq 10050 select LocalAddress,LocalPort,StateLocalAddress LocalPort State------------ --------- -----:: 10050 ListenRun the command below to open Zabbix agent on Windows firewall. Replace with your Zabbix server address.

At the end of my previous article we had a functioning Zabbix server set up to monitor itself. To monitor other hosts, we will need to tell Zabbix about other devices on your network. The two main ways Zabbix can monitor a host are via an agent installed on the host or via SNMP. Generally you will monitor servers and workstations using Zabbix agent. Network devices such as switches, firewalls or even printers use SNMP. In this article I will describe the process of installing and configuring the Zabbix agent on 4 common operating systems. I will also cover the process of configuring the Zabbix server to talk to these agents.

We now need to edit the configuration file to tell the agent where to find the server. Open /etc/zabbix/zabbix_agentd.conf in your preferred text editor and make the following changes to tell the agent which Zabbix servers are allowed to talk to it:

Download and install the agent MSI file from _agent-4.0.17-windows-amd64-openssl.msi. During the installer you will be prompted to configure the connection to the server. Enter the details for the hostname and server IP address as follows:

Once you have added the templates you want, click the Add button to create the host. It can take a few minutes for the agent and the server to begin talking to each other but when they do, you should see Zabbix Agent availability marked in green against the host you have added.

Simple and easy-to-configure Zabbix is written on C (a server, a proxy, and an agent) and PHP (frontend). Zabbix Server and Zabbix Proxy work in Linux systems only. The Zabbix agent can be installed on a wide variety of supported operating systems and platforms.

df19127ead
Reply all
Reply to author
Forward
0 new messages