Simple docker stress test and monitoring tools
Python
Switch branches/tags
Nothing to show
Clone or download
mattnworb Merge pull request #6 from andrewmichaelsmith/patch-1
nginx, postgres and redis have moved
Latest commit 82916cc Feb 25, 2016
Permalink
Failed to load latest commit information.
debian
spotify
.gitignore initial commit Feb 13, 2014
LICENSE initial commit Feb 13, 2014
NOTICE initial commit Feb 13, 2014
README.md Debian packagized Feb 19, 2014
__init__.py Debian packagized Feb 19, 2014
docker-monitor
docker-stress stress: container ttl argument Apr 23, 2014
jobs.json nginx, postgres and redis have moved Feb 25, 2016
setup.py Debian packagized Feb 19, 2014

README.md

docker-{stress,monitor}

Simple Docker (http://docker.io/) stress testing and monitoring tools.

$ ./docker-stress --help
usage: docker-stress [-h] [-f JOBS] [-d CLI] [-H ENDPOINT] [-c CONCURRENCY]
                 [-e [EMAIL [EMAIL ...]]] [-v]

docker stress test

optional arguments:
  -h, --help            show this help message and exit
  -f JOBS, --jobs JOBS  jobs file (default: jobs.json)
  -d CLI, --cli CLI     docker cli (default: /usr/bin/docker)
  -H ENDPOINT, --endpoint ENDPOINT
                        docker endpoint (default: unix:///var/run/docker.sock)
  -c CONCURRENCY, --concurrency CONCURRENCY
                        number of containers to run concurrently (default: 1)
  -e [EMAIL [EMAIL ...]], --email [EMAIL [EMAIL ...]]
                        Email address to spam with failure alerts (default:
                        None)
  -v, --verbosity


$ ./docker-monitor --help
usage: docker-monitor [-h] [-d CLI] [-H ENDPOINT] [-t INTERVAL]
                      [-e [EMAIL [EMAIL ...]]] [-v] [-r RIEMANN]
                      [--syslog SYSLOG]

docker health check monitor

optional arguments:
  -h, --help            show this help message and exit
  -d CLI, --cli CLI     docker cli (default: /usr/bin/docker)
  -H ENDPOINT, --endpoint ENDPOINT
                        docker endpoint (default: unix:///var/run/docker.sock)
  -t INTERVAL, --interval INTERVAL
                        health check interval (default: 300)
  -e [EMAIL [EMAIL ...]], --email [EMAIL [EMAIL ...]]
                        Email address to spam with failure alerts (default:
                        None)
  -v, --verbosity
  -r RIEMANN, --riemann RIEMANN
                        (optional) riemann proto:host:port to emit events to.
                        e.g. udp:localhost:5555 (default: None)
  --syslog SYSLOG       log to syslog (default: None)

If you use the -r flag to docker-monitor, you'll have to have the bernhard library installed which, in theory, should be as simple as:

sudo pip install bernhard