ICode9

精准搜索请尝试: 精确搜索
首页 > 系统相关> 文章详细

在CentOS 7.5 搭建最新版zabbix 4.4 监控系统-date201911-13

2019-11-13 23:56:57  阅读:309  来源: 互联网

标签:4.4 13 zabbix agent server Zabbix mysql 最新版 your


安装zabbix前的准备

先了解zabbix架构
在CentOS 7.5 搭建最新版zabbix 4.4 监控系统-date201911-13

先安装mariaDB , http 即搭建LAMP架构和其它的依赖包 执行以下安装命令

在CentOS 7.5 搭建最新版zabbix 4.4 监控系统-date201911-13

成功后

下面开始安装zabbix

在CentOS 7.5 搭建最新版zabbix 4.4 监控系统-date201911-13

这是官网安装教程,可以作为参考
https://www.zabbix.com/download?zabbix=4.0&os_distribution=centos&os_version=8&db=mysql

在CentOS 7.5 搭建最新版zabbix 4.4 监控系统-date201911-13

Choose your platform

Install and configure Zabbix server for your platform
a. Install Zabbix repository
documentation
#rpm -Uvh https://repo.zabbix.com/zabbix/4.0/rhel/8/x86_64/zabbix-release-4.0-2.el8.noarch.rpm
#dnf clean all
b. Install Zabbix server, frontend, agent
#dnf -y install zabbix-server-mysql zabbix-web-mysql zabbix-agent
c. Create initial database
documentation
#mysql -uroot -p
password
mysql> create database zabbix character set utf8 collate utf8_bin;
mysql> grant all privileges on zabbix.* to zabbix@localhost identified by 'password';
mysql> quit;
Import initial schema and data. You will be prompted to enter your newly created password.

#zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix
d. Configure the database for Zabbix server
Edit file /etc/zabbix/zabbix_server.conf

DBPassword=password
e. Configure PHP for Zabbix frontend
Edit file /etc/php-fpm.d/zabbix.conf, uncomment and set the right timezone for you.
; php_value[date.timezone] = Europe/Riga
f. Start Zabbix server and agent processes
Start Zabbix server and agent processes and make it start at system boot:

#systemctl restart zabbix-server zabbix-agent httpd php-fpm
#systemctl enable zabbix-server zabbix-agent httpd php-fpm
Now your Zabbix server is up and running!

Configure Zabbix frontend
Connect to your newly installed Zabbix frontend: http://server_ip_or_name/zabbix
Follow steps described in Zabbix documentation: Installing frontend

Start using Zabbix
Read in documentation: Quickstart guide

默认用户名Admin

默认密码zabbix

Watch video guide:
Zabbix Server Installation
Zabbix server installation explained

标签:4.4,13,zabbix,agent,server,Zabbix,mysql,最新版,your
来源: https://blog.51cto.com/guanhaizhan/2450057

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有