Prometheus 监控Mysql服务器及Grafana可视化
mysql_exporter:用于收集MySQL性能信息。
- 使用版本
- mysqld_exporter 0.11.0
- 官方地址
- 使用文档:https://github.com/prometheus/mysqld_exporter
- 图标模板:https://grafana.com/dashboards/7362
- 下载地址:https://github.com/prometheus/mysqld_exporter/releases/download/v0.12.1/mysqld_exporter-0.12.1.linux-amd64.tar.gz
- 百度云:mysqld_exporter 0.11.0
- 下载地址:https://pan.baidu.com/s/1JfjbK3uOMXObc7-F8h13Dw
- 密码:dxsn
注:要求数据库mysql 5.5 以上版本。
安装mysql_exporter
1、下载到被监控端解压压缩包
tar zxvf mysqld_exporter-0.11.0.linux-amd64.tar.gz
2、改名并移动到指定目录
<