Deploy Zabbix Client (Zabbix_agents_2.4.0.win) on Win server2008

Source: Internet
Author: User

Environment:

Server ip:10.9.9.29 (centos6.6)

Windows client:10.9.9.32 (Win server2008)

Zabbix Server version: 2.4.6

Zabbix Client version: 2.4.0

==========================================

1. Download and unzip

Address: Http://www.zabbix.com/downloads/2.4.0/zabbix_agents_2.4.0.win.zip

Unzip Zabbix_agents_2.4.0.win.zip to C drive and rename directory to Zabbix

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7F/93/wKioL1cjJCPwDRTQAAA9IfrKWPk033.png "title=" 49b9fc21-6afb-4b02-8abd-79bc4e454d4a.png "alt=" Wkiol1cjjcpwdrtqaaa9ifrkwpk033.png "/>


Conf directory is the agent configuration file, the bin file is stored under Windows 32-bit and 64-bit installer, this time using 64-bit, C:\zabbix\bin\win64

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7F/93/wKioL1cjJEugQvmpAABgv31yNTc967.png "title=" 8abe8625-fbbe-4383-bc42-52a7a278119a.png "alt=" Wkiol1cjjeugqvmpaabgv31yntc967.png "/>


2. Configure and install the Zabbix Agent client


1) Configure the Zabbix agent-related configuration.

Edit the configuration file under C:\zabbix\confcon using the notepad++ software zabbix_agentd.win.conf

Modify the four parameters of logfile, Server, Hostname,serveractive . The specific configuration is as follows:

Logfile=c:\zabbix_agentd.log--->zabbix log storage address

server=10.9.9.29--->Zabbix server IP address

Hostname=nhzf.winserver --->ZABBIX client hostname (this name should be the same as specified in the Zabbix Web configuration interface, otherwise an error will occur)

serveractive=10.9.9.29--->zabbix server address


2) Web-side Add host

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7F/93/wKioL1cjJHOyuRjlAABXOuwXbvE660.png "title=" 6118a7e9-1bc0-4fdc-ae62-2350bcc88c88.png "alt=" Wkiol1cjjhoyurjlaabxouwxbve660.png "/>


3) Install Agent Client

Under Windows Console, execute the following command:

c:\users\administrator> C:\zabbix\bin\win64\zabbix_agentd.exe-c c:\zabbix\conf\zabbix_agentd.win.conf–i

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7F/95/wKiom1cjI8zArbRRAAAThqSCI9Y341.png "title=" 951e169c-1fce-4d65-9d67-3b5779a376e0.png "alt=" Wkiom1cji8zarbrraaathqsci9y341.png "/>


Frequently used commands:


-C: Specify all configuration file locations

-I: Installing the Client

-S: Start the client

-X: Stop the Client

-D: Uninstalling the Client


3. Start Zabbix Agent Client


The start command is as follows:

c:\users\administrator>C:\zabbix\bin\win64\zabbix_agentd.exe-c C:\zabbix\conf\zabbix_agentd.win.conf–s

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7F/93/wKioL1cjJLLT_dKcAAAO4hR_-Gw977.png "title=" 068a6b67-ce80-4f61-9466-c02c1355edb1.png "alt=" Wkiol1cjjllt_dkcaaao4hr_-gw977.png "/>


The program that starts will be opened as a console. To view the logs that are started:


1912:20160429:164922.455 starting Zabbix Agent [Nhzf.winserver]. Zabbix 2.4.0 (revision 48940).

1912:20160429:164922.455 using Configuration file:c:\zabbix\conf\zabbix_agentd.win.conf

1912:20160429:164922.470 Agent #0 started [main process]

3024:20160429:164922.470 Agent #1 started [collector]

2368:20160429:164922.470 Agent #2 started [listener #1]

1972:20160429:164922.470 Agent #4 started [listener #3]

2632:20160429:164922.470 Agent #3 started [listener #2]

2092:20160429:164922.470 Agent #5 started [active checks #1]


There are no error prompts to view the status and availability of the Zabbix Web configuration interface as normal:

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7F/93/wKioL1cjJU-QGocwAAAHiBfCEq4013.png "title=" D4ead8b2-e386-403e-872e-7cb8e6fc1883.png "alt=" Wkiol1cjju-qgocwaaahibfceq4013.png "/>

Monitor is added successfully.


The self-accomplishment-ywliyq of Linux operation and maintenance

    • Technical Exchange, please add QQ Group: 256172681

    • Write to me: [email protected]

    • My technical Blog: http://ywliyq.blog.51cto.com/


This article is from the "Linux operations self-cultivation" blog, please be sure to keep this source http://ywliyq.blog.51cto.com/11433965/1769063

Deploy Zabbix Client (Zabbix_agents_2.4.0.win) on Win server2008

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.