1. Download and unzip
Address: Http://www.zabbix.com/downloads/2.4.0/zabbix_agents_2.4.0.win.zip
Decompression Zabbix_agents_2.4.0.win.zip
Conf directory is the agent configuration file bin file that holds Windows 32-bit and 64-bit installers
2. Configuration and Installation
2.1 Configure the Zabbix agent-related configuration.
Locate the configuration file zabbix_agentd.win.conf under Conf, and modify the three parameters logfile, Server, hostname. The specific configuration is as follows:
Logfile=c:\zabbix_agentd.log
server=192.98.8.224
hostname=f523540.
serveractive=192.98.8.224 #zabbix Server Address
Where logfile is the Zabbix log storage address. Server is the IP address of the Zabbix service side. Hostname is the native machine name.
2.2 Installing the Agent
Under Windows Console, execute the following command:
E:\zabbix\bin\win32\zabbix_agentd.exe-c E:\zabbix\conf\zabbix_agentd.win.conf–i
2.3 Starting the Agent client
The start command is as follows:
E:\zabbix\bin\win32\zabbix_agentd.exe-c E:\zabbix\conf\zabbix_agentd.win.conf–s
The program that starts will be opened as a console. To view the logs that are started:
8732:20140912:162313.203 starting Zabbix Agent [f523540]. Zabbix 2.4.0 (revision 48940).
8732:20140912:162313.203 using Configuration file:e:\zabbix\conf\zabbix_agentd.win.conf
8732:20140912:162315.500 Agent #0 started [main process]
8820:20140912:162315.500 Agent #1 started [collector]
8392:20140912:162315.500 Agent #2 started [listener #1]
5552:20140912:162315.500 Agent #3 started [listener #2]
9712:20140912:162315.500 Agent #4 started [listener #3]
1096:20140912:162315.500 Agent #5 started [active checks #1]
1096:20140912:162316.500 Active Check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [[127 .0.0.1]:10051]: [0X0000274D] Unable to connect due to aggressive rejection of the target machine. )
9368:20140912:163029.578 starting Zabbix Agent [f523540]. Zabbix 2.4.0 (revision 48940).
9368:20140912:163029.578 using Configuration file:e:\zabbix\conf\zabbix_agentd.win.conf
According to the log found that there is a 127.0.0.1:10051 can not connect, according to conjecture, the agent will be connected to Zabbix server, so the configuration is less a check is serveractive not configured.
Deployment installation Process reference documentation: Http://files.cnblogs.com/likehua/Zabbix_agent%E5%9C%A8windows%E4%B8%8A%E5%AE%89%E8%A3%85%E9%83%A8%E7%BD%B2.rar
Zabbix agentd Windows installation