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.5K All Categories
- 24 XORMON NG
- 25 XORMON
- 139 LPAR2RRD
- 12 VMware
- 14 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 118 STOR2RRD
- 18 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 11 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle