关于Windows-服务器-系统下-zabbix-agent-的安装

发布时间 2023-07-03 11:08:21作者: 520_1351

到zabbix官网下载Windows系统的zabbix agent软件包,然后解压

1、在解压目录中打开/conf/zabbix_agentd.conf中修改以下配置

修改为Server=服务端的IP
修改为ServerActive=服务端的IP
修改为Hostname=当前主机名
取消EnableRemoteCommands行注释,并修改为EnableRemoteCommands=1
取消LogRemoteCommands行注释,并修改为LogRemoteCommands=1

2、安装与启动zabbix-agent , 在zabbix_agent解压路径/bin目录下打开cmd

# 安装 zabbix_agent
zabbix_agentd.exe -i -c ..\conf\zabbix_agentd.conf
# 启动 zabbix_agent
zabbix_agentd.exe -s -c ..\conf\zabbix_agentd.conf 启动

3、在Windows服务中将zabbix_agent设置为开机自动启动

4、如果Windows客户端侧,存在防火墙、还需要放行 zabbix服务端到客户端的10050/tcp端口

 

 

 

尊重别人的劳动成果 转载请务必注明出处:https://www.cnblogs.com/5201351/p/17522258.html