当前位置:网站首页>Debian10 installing zabbix5.4
Debian10 installing zabbix5.4
2022-06-23 01:26:00 【Halyace】
One 、 Server installation :
# download zabbix Source deb package
wget https://mirrors.aliyun.com/zabbix/zabbix/5.4/debian/pool/main/z/zabbix-release/zabbix-release_5.4-1+debian10_all.deb
# install zabbix Source deb
dpkg -i zabbix-release_5.4-1+debian10_all.deb
# zabbix Source modification to Alibaba cloud
echo deb https://mirrors.aliyun.com/zabbix/zabbix/5.4/debian buster main|tee /etc/apt/sources.list.d/zabbix.list
# zabbix Source modification to Alibaba cloud
echo deb-src https://mirrors.aliyun.com/zabbix/zabbix/5.4/debian buster main|tee -a /etc/apt/sources.list.d/zabbix.list
# Update the image source list
apt update
# install zabbix Package required
apt install zabbix-server-mysql zabbix-frontend-php zabbix-nginx-conf zabbix-sql-scripts zabbix-agent
# mount this database
apt install -y mariadb-server
# Database initialization
mysql_secure_installation
# Log in to the database
mysql -u root -p
# establish zabbix Database and set the encoding to utf-8
create database zabbix character set utf8 collate utf8_bin;
# establish mariadb user zabbix
create user [email protected] identified by ' password ';
# to grant authorization zabbix User access zabbix database
grant all privileges on zabbix.* to [email protected];
# sign out mariadb
quit;
# Import initial data to zabbix library
zcat /usr/share/doc/zabbix-sql-scripts/mysql/create.sql.gz | mysql -uzabbix -p zabbix
# edit zabbix Server profile
nano /etc/zabbix/zabbix_server.conf
# Configure database password
DBPassword= password
# The configured cache length is 2048M
CacheSize=2048M
# edit nginx The configuration file
nano /etc/zabbix/nginx.conf
# Listening port configuration
listen 80;
# Server hostname configuration
server_name _;
# Delete the default site configuration
rm -rf /etc/nginx/sites-enabled/default
# Restart related services
systemctl restart zabbix-server zabbix-agent nginx php7.3-fpm
# Relevant services are started automatically after startup
systemctl enable zabbix-server zabbix-agent nginx php7.3-fpm mariadb
Two 、 Change the font :
# Upload C:\Windows\Fonts\simfang.ttf Font to /usr/share/zabbix/assets/fonts/simfang.ttf
# modify zabbix Front end configuration file
nano /usr/share/zabbix/include/defines.inc.php
# define('ZBX_GRAPH_FONT_NAME', 'graphfont')
define('ZBX_GRAPH_FONT_NAME', 'simfang');
# define('ZBX_FONT_NAME', 'graphfont')
define('ZBX_FONT_NAME', 'simfang');
3、 ... and 、 Default password :
Admin
zabbix
Four 、 Huawei switch snmp To configure :
# Turn on snmp
snmp-agent
# Set device contact information
snmp-agent sys-info contact 0379-xxxxxxxx
# Set the device address
snmp-agent sys-info location ZHL-1F
# Set up snmpv2 Read only community name
snmp-agent community read Readpublic
# Set up snmp edition
snmp-agent sys-info version v2c v3
5、 ... and 、 Reference material :
- zabbix Template library : https://share.zabbix.com
- Huawei oid Inquire about : https://support.huawei.com/mibtoolweb/enterpriseMibInfo/zh
- Huawei tool library : https://support.huawei.com/enterprise/zh/tool
- zabbix Report tool : https://www.zabbix.org.cn/viewtopic.php?f=12&t=7559
边栏推荐
- Char[], char *, conversion between strings
- Leetcode question brushing - 715 Range module
- SAP ui5 application development tutorial 102 - detailed trial version of print function implementation of SAP ui5 application
- Vector 3 (static member)
- New progress in the construction of meituan's Flink based real-time data warehouse platform
- [hdu] P7079 Pty loves lines
- a++,++a,!,~
- Dig three feet to solve the data consistency problem between redis and MySQL
- Yyds dry goods counting tail recursion is better than recursion
- SYSTEMd summary
猜你喜欢

Explain the startup process of opengauss multithreading architecture in detail

Sélecteur de hiérarchie

Installation record of ros1noetic in Win 11

Yyds dry inventory solution sword finger offer: print the binary tree into multiple lines

崔鹏团队:万字长文梳理「稳定学习」全景图

OSPF experiment in mGRE environment

I've been outsourcing for four years, but I feel it's useless

Huawei cloud recruits partners in the field of industrial intelligence to provide strong support + commercial realization

Cadence spb17.4 - Allegro - optimize and specify the polyline connection angle of a single electrical line - polyline to arc

3D打印微组织
随机推荐
Shell logs and printouts
[initial launch] there are too many requests at once, and the database is in danger
Huawei cloud recruits partners in the field of industrial intelligence to provide strong support + commercial realization
[Luogu] P2887 Sunscreen G
LeetCode 206. Reverse linked list (iteration + recursion)
BGP federal comprehensive experiment
cadence SPB17.4 - allegro - 优化指定单条电气线折线连接角度 - 折线转圆弧
LINQ 查询
leetcode 91. Decode Ways 解码方法(中等)
Vector 1 (classes and objects)
Vector 2 (friend and copy construction)
SQL programming task03 job - more complex query
使用aggregation API扩展你的kubernetes API
Autumn move script B
Is it safe for Hongyuan futures to open an account? Can Hongyuan futures company reduce the handling fee?
BGP联邦综合实验
Vector 6 (inheritance)
C serializabledictionary serialization / deserialization
Fluentd is easy to use. Combined with the rainbow plug-in market, log collection is faster
3DMAX modeling notes (I): introducing 3DMAX and creating the first model Hello World