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 server 2008 system installs Zabbix agent client

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Environment introduction:

Zabbix version: 3.2.11

Zabbixagent version: zabbix_agents_3.2.7.win

Operating system: Windows server 2008 R2

Procedure:

(1) officially download the large version of the server corresponding to the agent installation

Https://www.zabbix.com/download_agents

(2) copy to the windows custom directory to extract the files

Conf directory

Zabbix_agentd.win.conf / / main configuration file

Bin directory

Zabbix_agentd / / agent program

Zabbix_get / / passive acquisition

Zabbix_sender / / active acquisition

(3) install zabbix agent

If this file is placed in C:\ zabbix

1. First modify the main configuration file c:\ zabbix\ zabbix_agents_3.2.7.win\ conf\ zabbix_agentd.win.conf

PidFile=c:\ zabbix\ zabbix_agentd.pid (optional)

LogFile=c:\ zabbix\ zabbix_agentd.log (optional)

Server=

Hostname=

2. Start the zabbix client on the customer host-- > use the cmd terminal

C:\ Users\ Administrator > c:\ zabbix\ zabbix_agents_3.2.7.win\ bin\ win64 > / / change to the client's directory

C:\ zabbix\ zabbix_agents_3.2.7.win\ bin\ win64 > zabbix_agentd.exe-cc:\ zabbix\ zabbix_agents_3.2.7.win\ conf\ zabbix_agentd.win.conf-izabbix_agentd.exe [75792]: service [Zabbix Agent] installed successfullyzabbix_agentd.exe [75792]: event source [Zabbix Agent] installed successfully

3. Start zabbix on the customer host

C:\ zabbix\ zabbix_agents_3.2.7.win\ bin\ win64 > zabbix_agentd.exe-cc:\ zabbix\ zabbix_agents_3.2.7.win\ conf\ zabbix_agentd.win.conf-szabbix_agentd.exe [54028]: service [Zabbix Agent] started successfully

4. Check whether the service port is started.

C:\ > netstat-ano | find / I "10050" TCP 0.0.0.0 TCP 10050 0.0.0.0 LISTENING 80236 TCP [:]: 10050 [::]: 0 LISTENING 80236

-I means case-insensitive

Note: zabbix agent port is 10050

5. Verify whether zabbix agent starts automatically

Start-- > Administrative tools-- > Services-- > Zabbix_Agent services start automatically

The meaning of zabbix_agent parameter:

-c define the location of the configuration file

-I is the installation client

-s start the client

-x stop client

-d uninstall the client

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