https://github.com/hydroshare/conmon
Container Monitor
https://github.com/hydroshare/conmon
Last synced: about 2 months ago
JSON representation
Container Monitor
- Host: GitHub
- URL: https://github.com/hydroshare/conmon
- Owner: hydroshare
- License: bsd-3-clause
- Created: 2019-12-02T18:45:56.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2019-12-06T23:03:44.000Z (over 6 years ago)
- Last Synced: 2025-05-29T15:11:56.925Z (about 1 year ago)
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
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)