Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Windows installs zabbix Agent

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report