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.
- Place mesos-master.py or mesos-slave.py in collectd'opt/collectd/lib/collectd/plugins/python (assuming you have collectd installed to /opt/collectd).
- Configure the plugin (see below).
- Restart collectd.
You can also install the plugin using this Chef Cookbook if you're a Chef user.
- 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
- collectd 4.9+
- Mesos 0.19.0 or greater