zabbix agent installation for windows

來源:互聯網
上載者:User

標籤:download   windows   already   folder   visible   

Table of Contents

1, Download zabbix_agents_3.0.0.win.zip. 0

2, Uncompress ZABBIX zip file. 0

3, Enter in zabbix folder and Create a new file named zabbix_agentd.log. 0

4, Enter in conf folder and edit zabbix_agentd.win.conf0

5, copy the zabbix folder to c:\. 2

6, Install zabbix agent use cmd. 3

7, Confirm zabbix agent has already been running.5

8, Add the windows agent into zabbix monitoring. 6

8.1, Setup the host name and visible name and IP.7

8.2, select monitor template. 8

9, Check the latest data.11

 

 

1, Downloadzabbix_agents_3.0.0.win.zip

 

Download URL :  http://www.zabbix.com/downloads/3.0.0/zabbix_agents_3.0.0.win.zip

 

                            650) this.width=650;" width="698" height="21" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/themes/default/images/word.gif") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

2, UncompressZABBIX zip file

650) this.width=650;" width="426" height="117" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

3, Enterin zabbix folder and Create a new file named zabbix_agentd.log

 

650) this.width=650;" width="517" height="199" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

4, Enterin conf folder and edit zabbix_agentd.win.conf

 

650) this.width=650;" width="522" height="185" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

You can open zabbix_agentd.win.conf withword,

Then, modify the IP address in Server= ,modify127.0.0.1 become your zabbix server IP.

650) this.width=650;" width="661" height="593" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

650) this.width=650;" width="483" height="548" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

Then, save the ducoment.

5, copythe zabbix folder to c:\

650) this.width=650;" width="295" height="98" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

650) this.width=650;" width="392" height="375" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

Then rename this folder to zabbix

650) this.width=650;" width="475" height="375" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

6, Installzabbix agent use cmd

 

Open cmd terminal with administratorpermision

650) this.width=650;" width="374" height="283" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

 

And running below commands:

 

cd c:\

C:\zabbix\bin\win32\zabbix_agentd.exe -cC:\zabbix\conf\zabbix_agentd.win.conf -i

C:\zabbix\bin\win32\zabbix_agentd.exe -cC:\zabbix\conf\zabbix_agentd.win.conf -s

 

Image as follows, now ,zabbix agent hasbeen installed successfully, and started successfully.

650) this.width=650;" width="698" height="190" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

 

 

And also, you can use -h parameter to gethelp. As follows.

650) this.width=650;" width="698" height="543" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

7, Confirmzabbix agent has already been running.

Run services.msc

650) this.width=650;" width="409" height="215" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

Then check the zabbix agent

650) this.width=650;" width="698" height="74" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

 

8, Addthe windows agent into zabbix monitoring

650) this.width=650;" width="698" height="250" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

8.1, Setup the host name andvisible name and IP.

650) this.width=650;" width="698" height="529" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

8.2, select monitor template

650) this.width=650;" width="697" height="402" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

 

650) this.width=650;" width="697" height="402" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

 

Select Templates group

650) this.width=650;" width="698" height="222" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

 

Select Template OS Windows

650) this.width=650;" width="659" height="436" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

And Add,

650) this.width=650;" width="632" height="425" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

And Add

650) this.width=650;" width="698" height="434" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

 

And now ,wait for monitoring. And, if yourwindows have setup firewall rule, then you need open the port 10050. Zabbixneed to visit this port.

 

650) this.width=650;" width="698" height="418" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

 

And , when waited a few minute, less than 5minute, you will see the ZBX has changed be Green.

650) this.width=650;" width="698" height="232" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />

9, Checkthe latest data.

 

Exampleas follows. Some auto discovery rule will execution within an hour.650) this.width=650;" width="698" height="698" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />


本文出自 “Alvin Technology Center” 部落格,請務必保留此出處http://alvinwan.blog.51cto.com/11717371/1870649

zabbix agent installation for windows

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.