Promethus(普罗米修斯)监控Mysql数据库
Centos7安装Promethus(普罗米修斯)监控系统完整版 Promethus(普罗米修斯)监控Mysql数据库 这个是基于上面环境搭建的,需要的可以访问方面连接查看。 教程使用的软件:链接: https://pan.baidu.com/s/1QV4KYZksyIp65UsScioq4Q 提取码: vcej 监控远程MySQL 服务器 IP地址 Prometneus服务器 192.168.116.129 被监控服务器(mysql) 192.168.116.130 grafana服务器 192.168.116.131 ① 在被管理机agent1上安装mysqld_exporter组件 下载地址: https://prometheus.io/download/ 上传mysqld_exporter组件 安装mysqld_exporter组件 tar xf mysqld_exporter-0.11.0.linux-amd64.tar.gz -C /usr/local/ mv /usr/local/mysqld_exporter-0.11.0.linux-amd64/ /usr/local/mysqld_exporter ls /usr/local/mysqld_exporter 安装mariadb数据库,并授权 yum install mariadb\* -y systemctl