Zabbix Special topic: 11th Chapter Zabbix Proxy Distributed monitoring configuration

Source: Internet
Author: User
Tags add time


Zabbix Special topic: 11th Chapter Zabbix Proxy Distributed monitoring configuration


Interested in Linux friends join QQ Group: 476794643 Online communication


This article anti-theft chain: http://zhang789.blog.51cto.co

Zabbix Proxy Distributed Monitoring configuration

Zabbix Proxy can retrieve the client's data in place of the Zabbix server and then report the data to the Zabbix server, and to some extent, share the pressure of the Zabbix server. Zabbix Proxy can be very simple to achieve a centralized, Distributed monitoring.

Zabbix Proxy Usage Scenarios:

 monitoring remote zone devices 
Monitoring the local network instability zone
use it to mitigate server pressure
When Zabbix monitors thousands of devices Zabbix simplify maintenance

zabbix Proxy requires only one TCP connection to Zabbix server, so there is only one rule to add to the firewall. The Zabbix proxy database must be separate from the server, or the data will be corrupted, after all, the tables of these two databases are mostly the same. In short remember, the database can be separated.

proxy collects the data, The data is cached locally and then passed to Zabbix server after a certain amount of time. This time is determined by the parameters Proxylocalbuffer and Proxyofflinebuffer in the proxy configuration file.  
Zabbix Proxy is a data collector that does not calculate triggers, does not handle events, does not send alarms

备注: Use the agent active mode, be sure to remember the agent's configuration file parameter serveractive plus proxy IP address. Remember, there is hostname best Use IP do not use domain name class, no DNS resolution is best not to use

Zabbix-proxy Installation
[[email protected] ~]#ls
Anaconda-ks. CFGInstall. Log. Syslog zabbix-get-3. 0. 2-1. El6. x86_64. RPM
Install. LogSchema. SQLzabbix-proxy-mysql-3. 0. 2-1. El6. x86_64. RPM
[[email protected] ~]#Yum - y Install*. RPM
Zabbix-proxy Data Import
[Root@localhost~]# cp/usr/share/doc/zabbix-proxy-mysql-3.0.2/schema.sql.gz./
[Root@localhost~]# gzip-d schema.sql.gz
[Root@localhost~]# mysql
Mysql> CREATE DATABASE Zabbix_proxy;
Mysql> GRANT all on zabbix_proxy.* to ' Zbxuser '@' localhost 'Identified by' Zbxpass ';
Mysql> Flush Privileges;
[Root@localhost~]# mysql-u zbxuser-pzbxpass-h localhost zabbix_proxy <schema.sql
Modify the file for configuration proxy
[[Email protected] ~]# vim/etc/zabbix/zabbix_proxy.conf
Hostname=10.1. 252.//natively IP address
Server=10.1. 252.//zabbix Server host address;
Dbname=zabbix_proxy//Database name
Dbuser=zbxuser//Database user
Dbpassword=zbxpass//Database Password
configfrequency= -//How often to get configuration data
datasenderfrequency=5 //zabbix proxy sends the monitored data to the Zabbix server frequency
Client specifies a new proxy address
ServerActive=10.1.252.96,10.1.252.100
Server=10.1.252.96,10.1.252.100
Web Settings Add Proxy

1, add proxy inside the agent of management

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/89/D2/wKiom1gd40eDDUMHAABv1BTKXA0394.png "title=" Qq20161105214314.png "alt=" Wkiom1gd40eddumhaabv1btkxa0394.png "/>

2, set the address of proxy

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/89/CF/wKioL1gd41LQwbzcAAB7zXARxdo178.png "title=" Qq20161105214334.png "alt=" Wkiol1gd41lqwbzcaab7zxarxdo178.png "/>


Client Add time (join proxy)

1, in the addition of the host, you can choose proxy proxies

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/89/D2/wKiom1gd417gPLiLAAB-Cb_9ICo473.png "title=" Qq20161105214406.png "alt=" Wkiom1gd417gplilaab-cb_9ico473.png "/>

2. You can see that the newly added host has a proxy IP in front of it

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/89/D2/wKiom1gd42zBp64kAAEGFwRrSss049.png "title=" Qq20161105214436.png "alt=" Wkiom1gd42zbp64kaaegfwrrsss049.png "/>

3, through the proxy data has been able to obtain the normal

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/89/CF/wKioL1gd43rhcCdSAACZCappNr4561.png "title=" Qq20161105214459.png "alt=" Wkiol1gd43rhccdsaaczcappnr4561.png "/>


This article from "Live by the Sea like Waves" blog, please be sure to keep this source http://zhang789.blog.51cto.com/11045979/1869864

Zabbix Special topic: 11th Chapter Zabbix Proxy Distributed monitoring configuration

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.