不畏惧

博客园 首页 新随笔 联系 订阅 管理

我们下载后,解压开始有多个文件;


conf目录存放是agent配置文件
bin文件存放windows下32位和64位安装程序

找到conf下的配置文件 zabbix_agentd.win.conf ,修改LogFile、Server、、ServerActive、Hostname这四个参数。具体配置如下:
LogFile=c:\zabbix_agentd.log
Server=192.168.7.50
Hostname=download
ServerActive=192.168.7.50 #zabbix server地址
其中logfile是zabbix日志存放地址。Server 是zabbix服务端ip地址。Hostname是本机机器名

 

把zabbix_agent.win.conf 加入到服务中(注意路径):

c:\bin\win64\zabbix_agentd.exe -c c:\conf\zabbix_agentd.win.conf -i

然后启动agent:

c:\bin\win64\zabbix_agentd.exe -c c:\conf\zabbix_agentd.win.conf -s

 

posted on 2017-07-28 16:03  不畏惧  阅读(224)  评论(0编辑  收藏  举报