Ceph - access to prometheus
Hello,
I want to monitor ceph. Ceph is installed as rook-ceph - inside kubernetes.
I provided nodeport service which forwards traffic to mgr pod, prometheus is enabled.
I can connect port, and obtian metrics
[stor2rrd@stor2rrd ~]$ curl 10.32.10.46:30283
<!DOCTYPE html>
<html>
<head><title>Ceph Exporter</title></head>
<body>
<h1>Ceph Exporter</h1>
<p><a href='/metrics'>Metrics</a></p>
</body>
</html>[stor2rrd@stor2rrd ~]$ curl 10.32.10.46:30283/metrics | head
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
# HELP ceph_health_status Cluster health status
# TYPE ceph_health_status untyped
ceph_health_status 0.0
# HELP ceph_mon_quorum_status Monitors in quorum
# TYPE ceph_mon_quorum_status gauge
ceph_mon_quorum_status{ceph_daemon="mon.f"} 1.0
ceph_mon_quorum_status{ceph_daemon="mon.g"} 1.0
ceph_mon_quorum_status{ceph_daemon="mon.h"} 1.0
But when I want to set ceph monitoring I receive:
API authorization: NOK
ERROR: No ip address with connectable Prometheus.
How to troubleshoot this?
Howdy, Stranger!
Categories
- 1.6K All Categories
- 48 XORMON NG
- 25 XORMON
- 153 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 7 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 124 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 2 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle