README
parent
d87e8812f6
commit
f1ee60b31f
|
@ -0,0 +1,25 @@
|
||||||
|
Grafana dashboards for Ceph and ceph-mgr built-in Prometheus exporter.
|
||||||
|
|
||||||
|
First enable mgr module:
|
||||||
|
|
||||||
|
```
|
||||||
|
ceph mgr module enable prometheus
|
||||||
|
# if you have IPv6 disabled:
|
||||||
|
ceph config-key put mgr/prometheus/server_addr 0.0.0.0
|
||||||
|
```
|
||||||
|
|
||||||
|
prometheus.yml:
|
||||||
|
|
||||||
|
```
|
||||||
|
scrape_configs:
|
||||||
|
- job_name: 'ceph-test'
|
||||||
|
static_configs:
|
||||||
|
- targets: ['172.31.1.12:9283','172.31.1.13:9283','172.31.1.14:9283']
|
||||||
|
- job_name: 'ceph-prod'
|
||||||
|
static_configs:
|
||||||
|
- targets: ['172.31.1.5:9283','172.31.1.7:9283']
|
||||||
|
```
|
||||||
|
|
||||||
|
Then import dashboards.
|
||||||
|
|
||||||
|
License: MIT.
|
Loading…
Reference in New Issue