1. 安装zabbix5.0
rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
yum clean all && yum install zabbix-server-mysql zabbix-agent2 yum-config-manager --enable rhel-server-rhscl-7-rpms && yum install -y centos-release-scl
    vim /etc/yum.repos.d/zabbix.repo
[zabbix-frontend]
name=Zabbix Official Repository frontend - $basearch
baseurl=http://repo.zabbix.com/zabbix/5.0/rhel/7/$basearch/frontend
enabled=1 #打开
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591 yum install zabbix-web-mysql-scl zabbix-nginx-conf-scl #安装zabbix前端 2. 创建zabbix数据库(mariadb),导入zabbix表
create database zabbix character set utf8 collate utf8_bin;
create user zabbix@localhost identified by '123456';
grant all privileges on zabbix.* to zabbix@localhost; zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix 3. 修改zabbix_server配置及前端PHP配置
DBPassword=123456
vim /etc/opt/rh/rh-nginx116/nginx/conf.d/zabbix.conf
listen 80;
server_name example.com; #打开注释,修改本机IP vim /etc/opt/rh/rh-php72/php-fpm.d/zabbix.conf
listen.acl_users = apache,nginx
; php_value[date.timezone] = Europe/Riga #打开注释,修改为Asia/Shanghai 4. 启动server,agent2,nginx,php,启动之后直接IP访问安装
systemctl restart zabbix-server zabbix-agent2 rh-nginx116-nginx rh-php72-php-fpm
systemctl enable zabbix-server zabbix-agent2 rh-nginx116-nginx rh-php72-php-fpm
5. 配置自动发现
配置自动发现linux
自动发现-->创建自动发现规则
   https://www.zabbix.com/documentation/5.0/zh/manual/installation/frontend/frontend_on_rhel7

6. 自动发现交换机

7. 配置动作
选择自动发现动作-->创建动作

 

最新文章

  1. 年度巨献-WPF项目开发过程中WPF小知识点汇总(原创+摘抄)
  2. 基础3.Jquery操作Dom
  3. 闲聊桌面应用开发[Win16->Win32->ATL/WTL/MFC->WinForm->WPF/Silverlight/WinRT]
  4. 【Xamarin Doc】 Introduction to Storyboards 笔记
  5. iOS - (懒加载)
  6. 把QQ聊天记录插入数据库中
  7. rails tutorial sample app
  8. 不小心中了machook病毒
  9. ACM课程学习总结
  10. java基础之类与对象1
  11. echarts 柱状图,每根柱子显示不同颜色(随机显示和定制显示)
  12. Go语言学习索引
  13. Pivotal开源基于PostgreSQL的数据库Greenplum
  14. How to set spring boot active profiles with maven profiles
  15. 我眼中的 Nginx(一):Nginx 和位运算
  16. typeScript面对对象篇二
  17. redis实战 -- python知识散记
  18. jdk动态代理在idea的debug模式下不断刷新tostring方法
  19. 首次启动Kafka报Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073741824, 0) failed; error='Cannot allocate memory' (errno=12)
  20. Linux man 命令

热门文章

  1. node服务器搭建流程
  2. SimpleDateFormat类的安全问题,这6个方案总有一个适合你
  3. partTwo自动出题程序第三阶段
  4. 2021.07.19 BZOJ2654 tree(生成树)
  5. 《手把手教你》系列基础篇(九十)-java+ selenium自动化测试-框架设计基础-Logback实现日志输出-中篇(详解教程)
  6. pwn 之 沙箱机制
  7. 关于Spring-JDBC测试类的简单封装
  8. 什么是边缘CDN和虚拟CDN (vCDN)?
  9. linux系统平均负载高(load average)
  10. Web3.0应用程序架构