Collectd Python plugin for Apache Mesos telemetry.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.txt
README.md
mesos-master.conf
mesos-master.py
mesos-slave.conf
mesos-slave.py

README.md

mesos-collectd-plugin

A collectd plugin for Apache Mesos using collectd's Python plugin.

This plugin is based heavily on the Elasticsearch Collectd Python plugin written by phobos182.

Stats:

  • Cluster status (Activated slaves, schedulers, num tasks)
  • Cluster stats (cpu, disk, memory)
  • Task stats (finished, lost, failed)
  • Many more...

This plugin currently defaults to pulling metrics from Mesos 0.21.x but it can be configured to retrieve stats from Mesos 0.19.x and later by setting the Version configuration attribute via collectd. See Configuration section.

Install

  1. Place mesos-master.py or mesos-slave.py in collectd'opt/collectd/lib/collectd/plugins/python (assuming you have collectd installed to /opt/collectd).
  2. Configure the plugin (see below).
  3. Restart collectd.

You can also install the plugin using this Chef Cookbook if you're a Chef user.

Configuration

  • See mesos-master.conf or mesos-slave.conf
  • Set the version (0.19.0, 0.19.1, 0.20.0, 0.20.1, 0.21.0), default is 0.21.0

Requirements

  • collectd 4.9+
  • Mesos 0.19.0 or greater