Add ceph docs
Luis Eduardo committed
Dec 23, 2017 at 11:16 UTC
baea5b5d36a6278433b1ad5cf5acaf33809ffb88
2 files changed
+38
README.md
+3
@@ -285,6 +285,9 @@ This is a list of what it currently monitors:
285
- **statsd**<br/>
286
[netdata is a fully featured statsd server](https://github.com/firehol/netdata/wiki/statsd)
287
288
+- **ceph**<br/>
289
+ OSD usage, Pool usage, number of objects, etc.
290
+
291
And you can extend it, by writing plugins that collect data from any source, using any computer language.
292
293
---
python.d/README.md
+35
@@ -323,6 +323,41 @@ local:
323
324
---
325
326
+# ceph
327
+
328
+This module monitors the ceph cluster usage and consuption data of a server.
329
+
330
+It produces:
331
+
332
+* cluster disk statistics
333
+* OSD usage
334
+* pool usage
335
+* number of objects per pool
336
+
337
+**Requirements:**
338
+
339
+- `rados` python module
340
+- Add netdata user to ceph group
341
+```shell
342
+# useradd -g ceph netdata
343
+```
344
+
345
+- Granting read permissions to ceph group from keyring file
346
+```shell
347
+# chmod 640 /etc/ceph/ceph.client.admin.keyring
348
+```
349
+
350
+### Configuration
351
+
352
+Sample:
353
+```yaml
354
+local:
355
+ config_file: '/etc/ceph/ceph.conf'
356
+ keyring_file: '/etc/ceph/ceph.client.admin.keyring'
357
+```
358
+
359
+---
360
+
361
# couchdb
362
363
This module monitors vital statistics of a local Apache CouchDB 2.x server, including: