Get the App
SLTechnology News&Howtos  ›  Servers  › 

Windows installs zabbix Agent

Shulou Source: shulou.com Published: 2022-06-03 06:23:47 09月21日 Update

First, close the windows firewall or open ports 10050 and 10051

Directly windows to turn off the firewall or release 10050 and 10051 in the firewall

Download, install and modify the windows agent

1. Download the zabbix_agentd package

Download address on the official website: http://www.zabbix.com/download

Choose the corresponding system version by yourself

Decompress the downloaded newspaper

Unzip it into a folder called zabbix_agents_x.x.x with bin and conf folders in it.

3. Modify the configuration file

Open zabbix_agentd.win.conf with TXT

LogFile=c:\ zabbix_agentd.log # generates the running log, which I think is more important, but it is good to connect to the zabbix server successfully. If you can't connect, you have to use this analysis. For example, when I failed to connect before, the log judged that the 10051 port I served was open.

Server=10.5.41.157 # server address

Hostname=localhost.localdomain # server hostname. Check hostname or hostnamectl under Centos

ServerActive=10.5.41.157 # Server ip

Start the installation (my files are under c:\)

1. Open cmd

2. Install the service

C:\ zabbix\ bin\ win64\ zabbix_agentd.exe-c C:\ zabbix\ conf\ zabbix_agentd.win.conf-I

3. Start the service

C:\ zabbix\ bin\ win64\ zabbix_agentd.exe-c C:\ zabbix\ conf\ zabbix_agentd.win.conf-s

4. If there is a problem with startup, you can uninstall it, then unpack the new package again, restart the installation and start it. Pay attention to the zabbix process in Explorer

C:\ zabbix\ bin\ win64\ zabbix_agentd.exe-c C:\ zabbix\ conf\ zabbix_agentd.win.conf-d

5. View the log

Note: you need to confirm that services 10050 and 10051 can be accessed. Previously, the monitoring has been failed, check the log and found that unable to connect to the server 10051 interface.

6. Verification

To add host monitoring to zabbix, you can first use telnet to verify whether 10050 and 10051 are connected.

Tags: Services servers files logs firewalls fire prevention hosts addresses folders ports monitoring authentication agents important successful remarks that is interfaces versions systems Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Linux Shulou Tech Info NVidia Apple