From f1ee60b31ff8b2d32040a523708508d2fadebb9a Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Tue, 18 Dec 2018 19:02:44 +0300 Subject: [PATCH] README --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..4426726 --- /dev/null +++ b/README.md @@ -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.