Zabbix-proxy Installation

Source: Internet
Author: User

Note that the installation of the Zabbix-proxy is not the same as the Zabbix-server installation. Do not confuse, especially the SQL structure of the database


RPM-IVH http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-release-3.0-1.el6.noarch.rpm

After downloading this, change the gpgcheck=1 to 0.

Yum Install Zabbix-proxy-mysql

This will install all the other zabbix-proxy needed.

[Email protected] ~]# RPM-QL zabbix-proxy-mysql

/etc/init.d/zabbix-proxy

/etc/logrotate.d/zabbix-proxy

/etc/zabbix/zabbix_proxy.conf

/usr/lib/zabbix/externalscripts

/usr/sbin/zabbix_proxy_mysql

/usr/share/doc/zabbix-proxy-mysql-3.0.5

/usr/share/doc/zabbix-proxy-mysql-3.0.5/authors

/usr/share/doc/zabbix-proxy-mysql-3.0.5/copying

/usr/share/doc/zabbix-proxy-mysql-3.0.5/changelog

/usr/share/doc/zabbix-proxy-mysql-3.0.5/news

/usr/share/doc/zabbix-proxy-mysql-3.0.5/readme

/usr/share/doc/zabbix-proxy-mysql-3.0.5/schema.sql.gz

/usr/share/man/man8/zabbix_proxy.8.gz

/var/log/zabbix

/var/run/zabbix

[Email protected] ~]#




Create a Zabbix database

Drop database Zabbix;

Create Database Zabbix;


cd/usr/share/doc/zabbix-proxy-mysql-3.0.5/

Gunzip schema.sql.gz

Mysql-u root-p Zabbix < Schema.sql # #提前要创建好zabbix数据库, import SQL into

Configuration file

[Email protected] sankuai]# cat/etc/zabbix/zabbix_proxy.conf

Proxymode=0

Debuglevel=3

server=192.168.6.120

serverport=10051

Hostname=dx

Logfile=/var/log/zabbix/zabbix_proxy.log

Logfilesize=0

Pidfile=/var/run/zabbix/zabbix_proxy.pid

Dbhost=localhost

Dbname=zabbix

Dbuser=zabbix

dbpassword=12345

dbport=3306

Proxylocalbuffer=4

Proxyofflinebuffer=8

startpollers=100

startpollersunreachable=10

Starttrappers=20

Startpingers=20

Startdiscoverers=5

Timeout=30

Externalscripts=/usr/lib/zabbix/externalscripts

logslowqueries=3000

Fpinglocation=/usr/sbin/fping

Fping6location=/usr/sbin/fping6


Zabbix-proxy Installation

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.