我們下載后,解壓開始有多個文件;

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

浙公網安備 33010602011771號