Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

docker monitor using docker /events HTTP streaming API

Project Description

# dockermon - Docker Monitor Utility

dockermon listens for events from docker daemon using the docker /events [HTTP API][api].

[api]: https://docs.docker.com/reference/api/docker_remote_api_v1.19/

# Usage

## Library You can use dockermon as a library and then call watch(callback), you’re callback function will be called with new event (dict).

# Command Line The other option is to use dockermon as a command line tool and specify a program to call with every new event. The program will be launched and the event encode in JSON will be send to the program standard input. For example:

python -m dockermon “jq –unbuffered .”

If not program is specified, events will be printed to standard output as JSON objects, one per line.

# Hacking “one script no external dependencies” is a design goal, let’s not break it :)

We use [tox](https://tox.readthedocs.org/en/latest/) to test. Please make sure your code passes on all supported platforms (see tox.ini) before sending a pull request.

# Bugs and Project

https://github.com/CyberInt/dockermon

Release History

Release History

This version
History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dockermon-0.2.2.tar.gz (4.8 kB) Copy SHA256 Checksum SHA256 Source May 14, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting