hydroshare / conmon

Container Monitor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A package for monitoring Docker containers

Monitor Docker containers using the Docker Remote API.

To use as a package:

>>> from conmon.monitor import server_up, all_containers_up
>>> server_up()
True
>>> all_containers_up()
True
>>>

To use as a script:

$ python -m conmon [-h] [-t] service

Display True if docker server is up.

positional arguments:
service: which service to check; one of [server, containers]
optional arguments:
-h, --help show this help message and exit
-t Display elapsed time (default: False)

About

Container Monitor

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%