Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Zabbix proxy 3.0 RPM installation

2025-03-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Preparation before installation:

1. Zabbix proxy needs to install mysql, which can be imported into the yum source of mysql5.6 on the official website of mysql to install and start the database.

2. Create a zabbix_proxy database

Mysql > CREATE DATABASE zabbix_proxy

To create a zabbixproxy user:

Mysql > grant all on zabbix_proxy.* to zabbixproxy@localhost identified by 'zabbixproxy'

> flush privileges

2. Install fping

Yum-y install fping

3. Install the dependency package

Yum-y install net-snmp net-snmp-devel perl-DBI libxml libxml2-devel

Yum-y install OpenIPMI

Yum-y install unixODBC

4. Install zabbix-proxy-mysql

Download the RPM package

Download address of zabbix-proxy-mysqlRPM package:

Http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/

Installation

# rpm-ivh zabbix-proxy-mysql-3.0.4-1.el6.x86_64.rp

5. Import zabbix database

# cd / usr/share/doc/zabbix-proxy-mysql-3.0.4/

# gunzip schema.sql.gz

# mysql-uzabbixproxy-pzabbixproxy zabbix_proxy < schema.sql

6. Configure zabbix_proxy.conf configuration file

The IPHostname=Zabbix proxy / / of Server=172.16.206.128 / / zabbix server must be the same as the name of the proxy configured by zabbix server LogFile=/var/log/zabbix/zabbix_proxy.logLogFileSize=1024DebugLevel=3PidFile=/var/run/zabbix/zabbix_proxy.pidDBName=zabbix_proxy / / zabbixproxy data name DBUser=zabbixproxy / / zabbixproxy database account DBPassword=zabbix_Pr0xy / / database password DBSocket=/var/lib/mysql/mysql.sockConfigFrequency=60StartPollers=30StartPollersUnreachable=10StartTrappers=4StartPingers=4StartDiscoverers=4StartHTTPPollers=4HousekeepingFrequency=1CacheSize=64MStartDBSyncers=4HistoryCacheSize=16MTimeout=15ExternalScripts=/usr/lib/zabbix/externalscripts

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report