1、解压
解压zabbix_agents_2.4.0.win.zip
conf目录存放是agent配置文件bin文件存放windows下32位和64位安装程序
2、配置与安装
2.1 配置zabbix agent相关配置。
找到conf下的配置文件 zabbix_agentd.win.conf ,修改LogFile、Server、Hostname这三个参数。具体配置如下:
LogFile=c:\zabbix_agentd.log
Server=192.168.1.100
Hostname=MyServerName。
ServerActive=192.168.1.100 #zabbix server地址
其中,
logfile是zabbix日志存放地址。
Server 是zabbix服务端ip地址。
Hostname是本机机器名。
2.2 安装agent
在windows控制台下执行以下命令:
E:\zabbix\bin\win32\zabbix_agentd.exe -c E:\zabbix\conf\zabbix_agentd.win.conf –i
2.3 启动agent客户端
启动命令如下:
E:\zabbix\bin\win32\zabbix_agentd.exe -c E:\zabbix\conf\zabbix_agentd.win.conf –s
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22558114/viewspace-1522375/
,如需转载,请注明出处,否则将追究法律责任。