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 Yum installation

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

Install the latest official version of zabbix2.4.1 (the simplest way to yum)

Baidu experience: jingyan.baidu.cozabbix is a very powerful monitoring software, which can not only monitor various network devices based on SNMP, but also monitor the status of various versions of operating systems such as linux win. Baidu experience: jingyan.baidu.com

Tools / raw materials

Based on Centos 6.5x86x64 minimal, of course, it is also applicable to Red Hat Enterprise Linux 6.5.

Various dependent components need to be installed on the Internet.

The bold text in the description is the description text, and the italic text is the command Baidu experience that needs to be entered: jingyan.baidu.com

Installation step 1

Turn off selinux:

Vi / etc/selinux/config

SELINUX=disabled

First add an official yum source for zabbix

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

Install dependent component packages

Yum-y installiksemel libssh3 zabbix-server-mysql zabbix-web-mysql mysql-server zabbix-agentinstall net-snmp-devel net-snmp-libs net-snmp-perl net-snmp-utils net-snmp

For the specific role of each component package, please directly name the Baidu software package. 3

The database version installed using the yum source here should be Mysql 5.1.73, the initial password is empty, be sure to set the root user password!

3-1.

Login to the database:

Mysql-u root

3-2.

Change the database password:

Set password forroot@localhost=password ('suiyi')

The password I set here is "suiyi". Just change it to the password you want to set.

3-3.

Create a database for zabbix:

Create databasezabbixdb character set utf8 collate utf8_bin

The name of the database I created here is zabbixdb, which you can define by yourself, but you should also try your own database name for subsequent operations.

In order to support Chinese, the database character set uses utf8

The Chinese support here does not refer to the Chinese web management interface, but you can use the Chinese name when defining and adding devices.

3-4.

The user and password that authorize the zabbix system to access the Mysql database:

Grant allprivileges on zabbixdb.* to zabbixuser@localhost identified by 'zabbixpass'

Zabbixdb.* refers to accessing all the tables in the zabbixdb library. The user I define here is zabbixuser password zabbixpass, which should also be changed to your own.

3-5.

Import zabbix database table structure

Mysql-uroot-psuiyi zabbixdb

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