winds host deployment zabbix_agent

zabbix_agent download location: https://www.zabbix.com/cn/download_agents

1. Enter the official website to download zabbix_agent

2. Create a zabbix_agent folder in the windows server, unzip the downloaded winds agent into the zabbix folder, and get a bin folder and a conf folder. There is zabbix_agentd.exe client monitoring service in the bin folder, and the configuration file zabbix_agentd.conf is stored in the conf folder

 3. Edit the zabbix_agentd.conf file and modify the following items.

1 EnableRemoteCommands=1 #Allow remote commands to be executed locally
2 LogRemoteCommands=1 #Whether to save the operation log when executing remote commands
3 Server = XXXX #Fill in the IP address of the zabbix server

 4. Open the command line tool and enter the following command.

#安装#zabbix客户端
E:\zabbix_agent\bin\zabbix_agentd.exe -i -c E:\zabbix_agent\conf\zabbix_agentd.conf  
#启动#zabbix服务                  
E:\zabbix_agent\bin\zabbix_agentd.exe -s -c E:\zabbix_agent\conf\zabbix_agentd.conf                  

5. Uninstall the zabbix agent proxy service method.

E:\zabbix_agent\bin\zabbix_agentd.exe  -d  -c  E:\zabbix_agent\conf\zabbix_agentd.conf

Guess you like

Origin blog.csdn.net/weixin_50877409/article/details/126992491