Zabbix3.0 Monitoring Windows Client

Source: Internet
Author: User

Zabbix3.0 Monitoring Windows Clien

We introduced the ZABBIX3.0 monitoring Linux host, today we use Zabbix to monitor the Windows host, in fact, are the same; see below:

We first download the Windows Zabbix Agent installation service; Our first URL is the download link, the second third one is the latest 3.0 and 2.2.9 download links;

http://www.zabbix.com/download.php

Http://www.zabbix.com/downloads/3.0.0/zabbix_agents_3.0.0.win.zip

Http://www.zabbix.com/downloads/2.2.9/zabbix_agents_2.2.9.win.zip

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/86/E5/wKioL1fOWp_iyMpiAAJVd3eUJMI139.png "height=" 384 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/86/E6/wKiom1fOWqCwjwZ5AAMpKFabDqw040.png "height=" 484 "/>

After we download, unzip began to have multiple files;

Conf directory is the agent configuration file

Bin files are stored under Windows 32-bit and 64-bit setup programs

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/86/E6/wKiom1fOWqLTqx9dAAES_AvoIbo040.png "height=" 403 "/>

Locate the configuration file under Conf zabbix_agentd.win.conf and modify the four parameters logfile, Server, serveractive, hostname. The specific configuration is as follows:

Logfile=c:\zabbix_agentd.log

server=192.168.7.50

Hostname=download

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

650) this.width=650; "title=" clip_image001 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image001" src= "http://s3.51cto.com/wyfs02/M00/86/E5/wKioL1fOWqOA7_YPAAGw8tnnYA0516.png" height= "424"/>

server=192.168.7.50

192.168.7.50 is the server address of Zabbix-server

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/86/E5/wKioL1fOWqORAPR4AAF_KLZAI_I072.png "height="/>

The server-active address is the active Communications Server address, which is also the address of the Zabbix server that needs to be filled out

192.168.7.50 is the server address of Zabbix-server

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/86/E5/wKioL1fOWqTw-F7TAAIdGmHQ9HY826.png "height=" 412 "/>

Hostname we need to fill in the Zabbix agent's local hostname information

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/86/E6/wKiom1fOWqaC-Gg_AAHUR-PQJgg426.png "height=" 365 "/>

After configuring, the installation of zabbix-agent, in fact, is to add zabbix-agent to the Windows service;

Under Windows Console, execute the following command:

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

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/86/E5/wKioL1fOWqewNC-zAADV94jtogc189.png "height=" 242 "/>

The start command is as follows:

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

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/86/E6/wKiom1fOWqjARGzGAADGBtBr7eQ647.png "height=" 381 "/>

View log file found with error message

13124:20160905:124128.317 starting Zabbix Agent [Windows host]. Zabbix 3.0.0 (revision 58455).

13124:20160905:124128.317 * * * * Enabled FEATURES * * * *

13124:20160905:124128.317 IPv6 Support:yes

13124:20160905:124128.317 TLS Support:no

13124:20160905:124128.317 **************************

13124:20160905:124128.317 using Configuration file:c:\conf\zabbix_agentd.win.conf

13124:20160905:124128.332 Agent #0 started [main process]

9776:20160905:124128.332 Agent #1 started [collector]

12504:20160905:124128.332 Agent #2 started [listener #1]

12772:20160905:124128.332 Agent #3 started [listener #2]

13252:20160905:124128.332 Agent #4 started [listener #3]

12516:20160905:124128.332 Agent #5 started [active checks #1]

12516:20160905:124129.364 Active Check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [[12 7.0.0.1]:10051]: Connection refused.)

We are looking at the port, Zabbix-agent has started normally

650) this.width=650; "title=" clip_image001[5] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clip_image001[5]" src= "Http://s3.51cto.com/wyfs02/M02/86/E5/wKioL1fOWqmwK8uMAAD7yfDYqN4953.png" height= "406"/ >

We can also see by opening the service console that Zabbix-agent has been added to the list of services;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/86/E5/wKioL1fOWquT1SlBAALvpxl7Buc486.png "height=" 323 "/>

We have added the host on the Zabbix-server;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/86/E5/wKioL1fOWqzxz4E8AADn927EaMw036.png "height=" 435 "/>

Add a template: We choose a template for Windows Server

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/86/E6/wKiom1fOWq2RxmIzAAChetp4MgU403.png "height=" 323 "/>

Add Complete:

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/86/e6/wkiom1fowq2qrdakaac_ldeb7hs734.png "height=" 212 "/>

We check the image to confirm the availability of the server resources; memory resources

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/86/E6/wKiom1fOWq_RA1d9AAEhF7qvdb8229.png "height=" 276 "/>

Because there are two automatic discovery rules in the template, mainly for the network and system file information, so there will be a lot of automatic discovery of relevant information;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/86/E5/wKioL1fOWrHzh3liAAGwzoYOpr8399.png "height=" 306 "/>

Disk space on drive C

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/86/E6/wKiom1fOWrKBpb6IAACn_KVOcvk927.png "height=" 294 "/>

D Disk Space

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/86/E6/wKiom1fOWrPTnvowAACj0ufX04s621.png "height=" 287 "/>

Memory usage

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/86/E6/wKiom1fOWrTRRx8KAAEPRJfgDfI110.png "height=" 275 "/>

This article from "Gao Wenrong" blog, declined reprint!

Zabbix3.0 Monitoring Windows Client

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.