Skip to main content

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

Project details


Download files

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

Source Distribution

dockermon-0.2.1.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file dockermon-0.2.1.tar.gz.

File metadata

  • Download URL: dockermon-0.2.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dockermon-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a2a8f834ef61bb01ae2284a2e8d32559815f257502cd78ef28d314581635e6fc
MD5 093f815c47b04b290d17b20e79190dc9
BLAKE2b-256 b9fef14a52946df3cee7b06b52bfcbe24deafe7b93821c3e2647e1ebfd505fe0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page