国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網站 > 幫助中心 > 正文

Centos7.3安裝部署最新版Zabbix3.4的方法(圖文)

2024-07-09 22:40:36
字體:
來源:轉載
供稿:網友

 一、系統環境

cat /etc/redhat-release

CentOS Linux release 7.3.1611 (Core)

關閉防火墻及selinux

systemctl stop firewalld.servicesystemctl disable firewalld.servicesed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/configgrep SELINUX=disabled /etc/selinux/configsetenforce 0

二、數據庫安裝及配置

1、MariaDB概述

MariaDB數據庫管理系統是MySQL的一個分支,主要由開源社區在維護,采用GPL授權許可。
開發這個分支的原因是:甲骨文公司收購了MySQL后,有將MySQL閉源的潛在風險,因此社區采用分支的方式來避開這個風險。

MariaDB的目的是完全兼容MySQL,包括API和命令行,使之能輕松成為MySQL的代替品。

2、安裝mariadb

yum install mariadb-server mariadb -y

mariadb數據庫的相關命令是:

systemctl start mariadb #啟動MariaDBsystemctl stop mariadb #停止MariaDBsystemctl restart mariadb #重啟MariaDBsystemctl enable mariadb #設置開機啟動

三、Zabbix3.4安裝及配置

1、Zabbix3.4新功能概述

Remote command support through proxies Parallel processing of alerts Being notified on problem acknowledgement Item value preprocessing New preprocessing options Configurable JMX endpoints JMX low-level discovery PCRE library for regular expressions URL-encoding support in web monitoring Automatic URL-encoding Flexible URL-encoding for variables Unicode support in domain names Support of macros and time suffixes in time periods Host macro support in event tags Frontend improvements Dropping IE9 and IE10 support Full cloning of screens and maps Unified style for radio buttons and checkboxes Applying same permissions to nested host groups Increased field sizes Miscellaneous Daemon improvements IPMI polling Configuration parameters More information on agent metric thread crashes Item changes/improvements Low-level discovery Return code check for scripts and commands

zabbixe中文文檔 https://www.zabbix.com/documentation/3.4/zh/manual

2、Zabbix3.4安裝

rpm -ivh http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-1.el7.centos.noarch.rpmyum install zabbix-server-mysql zabbix-web-mysql -y

3、創建數據庫

create database zabbix character set utf8 collate utf8_bin;grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';

4、導入數據

復制代碼 代碼如下:
zcat /usr/share/doc/zabbix-server-mysql-3.4.0/create.sql.gz | mysql -uzabbix -pzabbix zabbix

5、配置數據庫用戶及密碼

grep -n '^'[a-Z] /etc/zabbix/zabbix_server.conf38:LogFile=/var/log/zabbix/zabbix_server.log49:LogFileSize=072:PidFile=/var/run/zabbix/zabbix_server.pid99:DBName=zabbix115:DBUser=zabbix123:DBPassword=zabbix314:SNMPTrapperFile=/var/log/snmptrap/snmptrap.log432:Timeout=4474:AlertScriptsPath=/usr/lib/zabbix/alertscripts484:ExternalScripts=/usr/lib/zabbix/externalscripts520:LogSlowQueries=3000
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 当雄县| 怀集县| 无锡市| 武城县| 阜新| 许昌县| 辽源市| 西畴县| 建德市| 昭通市| 昌都县| 凤凰县| 龙川县| 乐东| 玉树县| 拜泉县| 昌乐县| 休宁县| 吴堡县| 钟山县| 和林格尔县| 赫章县| 邹城市| 喀喇| 抚顺县| 沙洋县| 三穗县| 女性| 西和县| 防城港市| 斗六市| 隆昌县| 宁波市| 苍南县| 临夏县| 集安市| 大同县| 喀喇| 巍山| 巍山| 清镇市|