Skip to content

A dockerized collectd plugin for collecting ceph metrics

Notifications You must be signed in to change notification settings

y4ns0l0/ceph-collectd-graphite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collect ceph metrics to graphite

This is a fork of Ian Babrou's version. Thanks to him ! I needed a rebuild with a fresh ceph/base version.

I also use the grinapo's fork of collectd-ceph plugin.

This is dockerized version of collectd-ceph. You only need docker to run this, ceph to monitor and graphite to store metrics.

Running

docker run -d -e HOST_NAME=$(hostname -s) -e GRAPHITE_HOST=<graphite host> \
  -e GRAPHITE_PORT=2003 -v </etc/ceph/of/running/cluster>:/etc/ceph:ro \
  -e GRAPHITE_UPDATE_INTERVAL=30 -e GRAPHITE_PREFIX=collectd. \
  -e CEPH_CLUSTER_NAME=<my ceph cluster> \
  -e CEPH_TEST_POOL=<your bench pool> \
  y4ns0l0/ceph-collectd-graphite

Environment variables:

  • HOST_NAME - hostname to use in graphite.
  • GRAPHITE_HOST - host where carbon is listening for data.
  • GRAPHITE_PORT - port where carbon is listening for data, 2003 by default.
  • GRAPHITE_UPDATE_INTERVAL - metric update interval, 30 by default
  • GRAPHITE_PREFIX - prefix for metrics in graphite, collectd. by default.
  • CEPH_CLUSTER_NAME - cluster name to use in graphite.
  • CEPH_TEST_POOL - pool name to use for latency checks.

Note that you must pass /etc/ceph into container to collect metrics.

This image builds from ceph/base and has the same tags.

Check out collectd-ceph for more info and awesome grafana dasboard:

grafana

Authors

About

A dockerized collectd plugin for collecting ceph metrics

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published