Ceph Reef(18.2.X)的内置Prometheus监控集群

本文涉及的产品
EMR Serverless StarRocks,5000CU*H 48000GB*H
可观测监控 Prometheus 版,每月50GB免费额度
简介: 这篇文章是关于Ceph Reef(18.2.X)版本中内置Prometheus监控集群的使用方法,包括如何查看集群架构、访问Prometheus、Grafana、Node-Exporter和Alertmanager的Web界面,以及推荐阅读的自实现Prometheus监控资源链接。

                                              作者:尹正杰

版权声明:原创作品,谢绝转载!否则将追究法律责任。

一.ceph集群的监控

1.查看集群的架构

[root@ceph141 ~]# ceph orch ls
NAME                  PORTS        RUNNING  REFRESHED  AGE   PLACEMENT    
alertmanager          ?:9093,9094      1/1  10m ago    47h   count:1      
ceph-exporter                          3/3  10m ago    47h   *            
crash                                  3/3  10m ago    47h   *            
grafana               ?:3000           1/1  10m ago    47h   count:1      
mds.oldboyedu-cephfs                   2/2  10m ago    20h   count:2      
mgr                                    2/2  10m ago    47h   count:2      
mon                                    3/5  10m ago    47h   count:5      
node-exporter         ?:9100           3/3  10m ago    47h   *            
osd                                      7  10m ago    -     <unmanaged>  
prometheus            ?:9095           1/1  10m ago    47h   count:1      
rgw.yinzhengjie       ?:80             1/1  10m ago    104m  ceph142      
[root@ceph141 ~]# 

温馨提示:
    不难发现,有grafana,alertmanager,ceph-exporter,Prometheus等组件默认都是安装好的,说白了,无需手动安装。

    所以,基于cephadm方式部署的环境,可以直接使用Prometheus监控。若使用的ceph-deploy方式部署,则需要手动配置各组件。

2.查看Prometheus的WEbUI

http://10.0.0.141:9095/targets?search=

3.查看grafana的WebUI

https://10.0.0.141:3000/

4.查看node-exporter

http://10.0.0.141:9100/metrics

5.查看alertmanger

http://10.0.0.141:9093/#/status

二.自实现Prometheus监控参考链接

推荐阅读:
    https://github.com/digitalocean/ceph_exporter
    https://github.com/blemmenes/radosgw_usage_exporter
相关实践学习
容器服务Serverless版ACK Serverless 快速入门:在线魔方应用部署和监控
通过本实验,您将了解到容器服务Serverless版ACK Serverless 的基本产品能力,即可以实现快速部署一个在线魔方应用,并借助阿里云容器服务成熟的产品生态,实现在线应用的企业级监控,提升应用稳定性。
目录
相关文章
|
4月前
|
Prometheus 监控 Kubernetes
如何用 Prometheus Operator 监控 K8s 集群外服务?
如何用 Prometheus Operator 监控 K8s 集群外服务?
|
11月前
|
Prometheus Kubernetes 监控
prometheus operator监控k8s集群之外的haproxy组件
prometheus operator监控k8s集群之外的haproxy组件
|
存储 Prometheus 监控
高可用Prometheus集群
高可用Prometheus集群
485 0
|
4月前
|
Prometheus 监控 Kubernetes
Prometheus Operator 与 kube-prometheus 之二 - 如何监控 1.23+ kubeadm 集群
Prometheus Operator 与 kube-prometheus 之二 - 如何监控 1.23+ kubeadm 集群
|
15天前
|
Prometheus 监控 Cloud Native
prometheus监控ceph集群环境
文章介绍了如何使用Prometheus监控Ceph集群环境,包括启用Prometheus模块、验证模块启用成功、访问Ceph的exporter、修改Prometheus配置文件、热加载配置,以及Grafana采集数据的方法。同时,还涵盖了监控Ceph集群宿主机的步骤,如在所有节点安装node-exporter、修改Prometheus配置文件、热加载配置,以及Grafana采集数据。
42 6
|
1月前
|
Prometheus 监控 Cloud Native
在 HBase 集群中,Prometheus 通常监控哪些类型的性能指标?
在 HBase 集群中,Prometheus 通常监控哪些类型的性能指标?
|
28天前
|
Prometheus 监控 Cloud Native
在 HBase 集群中,Prometheus 通常监控哪些类型的性能指标?
在 HBase 集群中,Prometheus 通常监控哪些类型的性能指标?
|
4月前
|
Prometheus 监控 Cloud Native
Prometheus监控平台配置--监控集群资源信息
在scrape_configs 配置项下添加Linux 监控的job,其中 IP 修改为上面部署node_exporter机器的ip,端口号为9100,需要注意缩进。
233 6
|
存储 Prometheus 监控
干货速看!同行盆友来稿:一文带你搭建K8S高可用集群,以及在上面搭建Prometheus和Grafana。2
干货速看!同行盆友来稿:一文带你搭建K8S高可用集群,以及在上面搭建Prometheus和Grafana。
231 0
|
Prometheus 监控 Cloud Native
【2023】Prometheus-Alertmanager高可用集群
【2023】Prometheus-Alertmanager高可用集群
345 0