Jay Taylor's notes
back to listing indexnqn/nibbler
[web search]
Original source (github.com)
Clipped on: 2016-02-28
Skip to content
Yet another collector for Mesos. Aiming to be as robust and platform (Mesos version) independent as possible.
Python
marathon | Added master metrics | 7 months ago | |
README.md | Update README.md | 7 months ago | |
master-collect.py | Added master metrics | 7 months ago | |
nibbler-master.service.template | Added restart configuration to systemd templates | 7 months ago | |
nibbler-slave.service.template | Added restart configuration to systemd templates | 7 months ago | |
nibbler.py | Added topic as argument | 7 months ago | |
slave-collect-kafka.py | Added topic as argument | 7 months ago | |
slave-collect.py | Only compute IPC when perf sample is available | 7 months ago |
README.md
Nibbler
Yet another collector for Mesos. Aiming to be as robust and platform (Mesos version) independent as possible.
Dependencies
- InfluxDB 0.8.X
- Python 2.7.X (
requests
library)
Usage
usage: slave-collect.py [-h] [--slave SLAVE] [--influxdb-host INFLUXDB_HOST] --influxdb-name INFLUXDB_NAME [--influxdb-user INFLUXDB_USER] [--influxdb-password INFLUXDB_PASSWORD]
Flag | Description |
---|---|
slave | hostname and port for mesos slave |
influxdb-name | hostname and port for influxdb admin server (default: localhost:8086) |
influxdb-name | database name to use |
influxdb-user | user for influxdb admin server |
influxdb-password | password for influxdb admin server |
Example:
$ python slave-collect.py --influxdb-name=mesos --slave=localhost:5050 <Response [200]> Sent sample... <Response [200]> Sent sample... <Response [200]> Sent sample...
Service setup
To run nibbler slave agent with systemd:
git clone https://github.com/nqn/nibbler.git /usr/local/share/applications/nibbler/ cd /usr/local/share/applications/nibbler/ cp nibbler-slave.service.template nibbler-slave.service # Change addresses in nibbler-slave.service mv nibbler-slave.service /usr/lib/systemd/system/nibbler-slave.service systemctl enable nibbler-slave systemctl start nibbler-slave
To run nibbler master agent with systemd:
git clone https://github.com/nqn/nibbler.git /usr/local/share/applications/nibbler/ cd /usr/local/share/applications/nibbler/ cp nibbler-master.service.template nibbler-master.service # Change addresses in nibbler-master.service mv nibbler-master.service /usr/lib/systemd/system/nibbler-master.service systemctl enable nibbler-master systemctl start nibbler-master