Get the App
SLTechnology News&Howtos  ›  Servers  › 

Windows server 2008 system installs Zabbix agent client

Shulou Source: shulou.com Published: 2022-06-03 00:19:29 09月22日 Update

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

Tags: Customer client file directory service version configuration host port system active operating system location parameter meaning size official tool location server Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Shulou Tech Info Shulou Technology Apple Docker