Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dockerana/dockerana
Docker Monitoring with support for Grafana and Graphite
https://github.com/dockerana/dockerana
Last synced: about 2 months ago
JSON representation
Docker Monitoring with support for Grafana and Graphite
- Host: GitHub
- URL: https://github.com/dockerana/dockerana
- Owner: dockerana
- Created: 2014-06-08T00:16:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-21T17:33:47.000Z (over 9 years ago)
- Last Synced: 2024-07-31T21:55:13.492Z (5 months ago)
- Language: Perl
- Homepage: http://dockerana.com
- Size: 2.55 MB
- Stars: 205
- Watchers: 16
- Forks: 30
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-docker - Dockerana - packaged version of Graphite and Grafana, specifically targeted at metrics from Docker. (Container Operations / Monitoring)
- awesome-docker - Dockerana - packaged version of Graphite and Grafana, specifically targeted at metrics from Docker. (Container Operations / Monitoring)
README
[dockerana](http://dockerana.com/)
=========* [Docker hackathon slides](http://dockerana.com/slides.html)
* [Docker dockercon14 slides](http://dockerana.com/demo.html)Overview:
* time series docker instrumentation and visualization
* built/tested as drop-in on Ubuntu Trusty at the moment, need to test on boot2docker
* need to test across multiple hosts (whisper/elasticsearch/etc)#### Initial setup :
* Obligatory disclaimer about logs & disk space... upstart will rotate/etc; but growth of backend, will just keep going. Don't let your docker host run out of space!
* Everything in this setup assumes ipv4 only at this point (FIXME)Instructions below are for Ubuntu 14.04, assuming a vanilla/patched
install with rsyslog running.Official install from http://docs.docker.io/installation/ubuntulinux/#ubuntu-trusty-1404-lts-64-bit
```
sudo apt-get update
sudo apt-get install -y docker.io
sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io
```Update to a current docker:
```
cd /tmp
wget https://get.docker.io/builds/Linux/x86_64/docker-latest -O docker
sudo mv docker /usr/bin/docker.io
sudo chown root:root /usr/bin/docker.io
sudo chmod 755 /usr/bin/docker.io
```Make these changes:
(FIXME deal with situation where pre-existing docker_opts exist/ordering/etc)
```
printf "\n# Added for dockerana log aggregation\nDOCKER_OPTS=\" -D\"\n" | sudo tee -a /etc/default/docker.io > /dev/null
sudo perl -pi -e 's/(\"\$DOCKER\" -d \$DOCKER_OPTS)/$1 2>&1 | logger -t docker\n\tnetstat --interfaces -c | logger -t netstat &/' /etc/init/docker.io.conf```
Go ahead and re-start docker:
```
sudo service docker.io restart
```To build dockerana:
```
git clone https://github.com/dockerana/dockerana.git
cd dockerana
./build
```To start:
```
./start
```To stop:
```
./stop
```Screenshots: