How to Install proxy in zabbix

 

Step 1:- Proxy Server Installation in CentOS 6.

# cat /etc/issue

# arch

# rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm

# yum install net-snmp net-snmp-utils ipmitool OpenIPMI OpenIPMI-libs

# yum install zabbix-proxy-mysql mysql-server -y

# /etc/init.d/mysqld restart

# /usr/bin/mysql_secure_installation

give mysql password and remianing all 'y'

# chkconfig mysqld on

# chkconfig zabbix-proxy on

# vi /root/.mysql_history - Note:- check mysql password

 

 

 

# mysql -u root -p or mysql -u root -p -h 127.0.0.1

mysql> create database zabbix character set utf8 collate utf8_bin;

mysql> show databases;

# mysql -u root -p zabbix < /root/schema.sql

Download Schema file for CentOS 6

# vi /etc/zabbix/zabbix_proxy.conf

ProxyMode=0

Hostname=ProxyServer_Name

Server=x.x.x.x

DBName=zabbix

DBHost=localhost or DBHost=127.0.0.1

DBUser=root

DBPassword=mysqlpassword

ProxyOfflineBuffer=48

 

 

# /etc/init.d/zabbix-proxy restart

 

Step 2:- Proxy Server Installation in CentOS 7:

 

# cat /etc/issue

# arch

# rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/7/x86_64/zabbix-release-2.4-1.el7.noarch.rpm

# yum install net-snmp net-snmp-utils ipmitool OpenIPMI OpenIPMI-libs

# yum install zabbix-proxy-mysql mysql-server -y

# yum install mysql-community-server.x86_64 mysql-community-client.x86_64

# /usr/bin/mysql_secure_installation

give mysql password and remianing all 'y'

 

# yum -y install mariadb-server mariadb

# systemctl start mariadb

# systemctl enable mariadb

# systemctl status mariadb

# chkconfig mysqld on

# systemctl enable zabbix-proxy.service

# mysql -u root -p or mysql -u root -p -h 127.0.0.1

# mysql> create database zabbix character set utf8 collate utf8_bin;

# mysql -u root -p zabbix < /root/schema.sql

Download Schema file for CentOS 7

# vi /etc/zabbix/zabbix_proxy.conf

ProxyMode=0

Hostname=ProxyServer_Name

Server=x.x.x.x

DBName=zabbix

DBHost=localhost or DBHost=127.0.0.1

DBUser=root

DBPassword=mysqlpassword

ProxyOfflineBuffer=48

 

# systemctl restart zabbix-proxy.service

# systemctl status zabbix-proxy.service

 

 

 

 

 

PLEASE WRITE A FEEDBACK OR SUGGESTIONS TO BELOW EMAIL IDS.

prashantkumar.chawan@gmail.com

info@mytara.co.in