Install zabbix_agents_2.2.0 under Windows

Source: Internet
Author: User

Download and Unzip

Download zabbix_agents_2.2.0

Http://www.zabbix.com/downloads/2.2.0/zabbix_agents_2.2.0.win.zip

Unzip to the C drive below, installation does not necessarily unzip to the C drive below, but the configuration file must be in the C packing directory

When you go to the folder, you see

Conf directory is the agent configuration file bin file that holds Windows 32-bit and 64-bit installers

Configure zabbix_agentd.win.conf

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_agents_2.2.0.win\zabbix_agentd.log

server=192.168.140.133

Hostname= Client Host Name

serveractive=192.168.140.133 #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.

For Windows systems, enter hostname to get the hostname under CMD

Install Agent Client

After the change, copy it, put it in the C packing directory, and rename it to Zabbix

Under Windows Console, execute the following command:

My Windows is 64 bit, should use 64 bit of it

C:\zabbix_agents_2.2.0.win\bin\win64\zabbix_agentd.exe–c C:\zabbix_agents_2.2.0.win\conf\zabbix_agentd.win.conf –i

But this execution will be an error.

Should be entered into the directory and then executed

Start Agent Client

C:\zabbix_agents_2.2.0.win\bin\win64\zabbix_agentd.exe–c C:\zabbix_agents_2.2.0.win\conf\zabbix_agentd.win.conf –s

The above is also not possible ...

See if the service's up yet.

and start it.

Go to the catalogue and look, there's a log, yo.

The log contents are as follows:

2332:20160801:094359.325 starting Zabbix Agent [yangxu-pc]. Zabbix 2.2.0 (revision 40147).
2332:20160801:094359.326 using Configuration file:c:\zabbix_agents_2.2.0.win\conf\zabbix_agentd.win.conf
5100:20160801:094359.342 Agent #0 started [collector]
4484:20160801:094359.343 Agent #1 started [listener #1]
4624:20160801:094359.344 Agent #2 started [listener #2]
3204:20160801:094359.344 Agent #3 started [listener #3]
3300:20160801:094359.344 Agent #4 started [active checks #1]
3300:20160801:094420.367 Active Check configuration update from [192.168.140.133:10051] started to fail (cannot connect to [[192.168.140.133]:10051]: [0x0000274c] The connection attempt failed because the connecting party did not respond correctly after a period of time or the connected host was unresponsive. )
3300:20160801:094923.482 Active Check configuration update from [192.168.140.133:10051] is working again
3300:20160801:094923.482 no active checks on Server:host [yangxu-pc] not found
4324:20160801:095039.457 starting Zabbix Agent [yangxu-pc]. Zabbix 2.2.0 (revision 40147).
4324:20160801:095039.457 using Configuration file:c:\zabbix_agents_2.2.0.win\conf\zabbix_agentd.win.conf
4596:20160801:095039.460 Agent #0 started [collector]
3644:20160801:095039.460 Agent #1 started [listener #1]
2684:20160801:095039.460 Agent #4 started [active checks #1]
4244:20160801:095039.460 Agent #2 started [listener #2]
4660:20160801:095039.461 Agent #3 started [listener #3]
2684:20160801:095039.468 no active checks on Server:host [yangxu-pc] not found
3300:20160801:095123.503 no active checks on Server:host [yangxu-pc] not found

Should be for I have not opened Zabbix server, do not fail to blame

Login to the browser interface

Be sure to add a template to the host, or the z is always gray

Don't forget to click the Add button and then archive

Install zabbix_agents_2.2.0 under Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.