Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bobrik/docker-collectd-mesos
Dockerized version of collectd-mesos to monitor your mesos cluster with graphite.
https://github.com/bobrik/docker-collectd-mesos
Last synced: 2 months ago
JSON representation
Dockerized version of collectd-mesos to monitor your mesos cluster with graphite.
- Host: GitHub
- URL: https://github.com/bobrik/docker-collectd-mesos
- Owner: bobrik
- Created: 2015-03-09T10:08:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-19T21:50:45.000Z (almost 8 years ago)
- Last Synced: 2024-04-14T15:52:45.942Z (2 months ago)
- Language: Smarty
- Size: 216 KB
- Stars: 56
- Watchers: 7
- Forks: 15
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Lists
- awesome-mesos - Docker CollecD Mesos
README
# Collect mesos metrics to graphite
This is dockerized version of [collectd-mesos](https://github.com/rayrod2030/collectd-mesos).
You only need docker to run this, mesos to monitor and graphite to store metrics.## Running
### Master
```
docker run -d -e GRAPHITE_HOST= -e MESOS_MODE=master \
-e MESOS_HOST= -e MESOS_PORT= \
-e MESOS_VERSION= bobrik/collectd-mesos
```### Slave
```
docker run -d -e GRAPHITE_HOST= -e MESOS_MODE=slave \
-e MESOS_HOST= -e MESOS_PORT= \
-e MESOS_VERSION= bobrik/collectd-mesos
```### Environment variables
* `COLLECTD_HOST` - host to use in metric name, defaults to the value of `MESOS_HOST`.
* `GRAPHITE_HOST` - host where carbon is listening for data.
* `GRAPHITE_PORT` - port where carbon is listening for data, `2003` by default.
* `GRAPHITE_PREFIX` - prefix for metrics in graphite, `collectd.` by default.
* `INFLUXDB_HOST` - host where influxdb is listening for data.
* `INFLUXDB_PORT` - port where influxdb is listening for data, `25826` by default.
* `MESOS_MODE` - mesos node type: `master` or `slave`.
* `MESOS_HOST` - mesos host to monitor.
* `MESOS_PORT` - mesos port number, likely `5050` for master and `5051` for slave.
* `MESOS_VERSION` - mesos version to enable version-specific metrics.Note that this docker image is very minimal and libc inside does not
support `search` directive in `/etc/resolv.conf`. You have to supply
full hostname in `MESOS_HOST` that can be resolved with nameserver.## Grafana dashboard
Get example [grafana dashboard](grafana-dashboard.json):
![Screenshot](screenshot.png)
# Authors
* [Ian Babrou](https://github.com/bobrik)