PostgreSQL【监控篇】01:使用Prometheus+postgres_exporter+Grafana对PostgreSQL数据库进行监控和展示
PostgreSQL【监控篇】01:使用Prometheus+postgres_exporter+Grafana对PostgreSQL数据库进行监控和展示
·
一、环境准备
这里我使用的操作系统都是CentOS7.5
1、环境信息
10.229.42.238 pg 13.21 postgres_export node_export
10.229.42.101 prometheus+grafana

2、安装PostgreSQL
我这里安装的是PostgreSQL13.21,安装步骤可参考:
PostgreSQL【安装篇】07:CentOS7.5【手动】编译安装PostgreSQL 13.21
3、关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
systemctl status firewalld.service

4、Prometheus下载
5、Grafana下载
6、postgres_exporter下载
7、node_exporter下载
二、Prometheus、node_exporter、Grafana安装
第三阶段【监控篇】01:Prometheus监控Linux机器以及通过Grafana展示
三、postgres_exporter安装
更多推荐
所有评论(0)