check-container-stats

Icinga / Nagios plugins to check metrics of Docker / PodMan containers

Release v2.0.0 latest

v2.0.0

Changes

  • BREAKING: Change check_container_stats_docker.py to use Docker engine API v1.51 as support for engine API v1.46 will most likely be dropped at some point in the near future. Docker engine API v1.51 is available in Docker versions from 28.3 upwards. Thus v2.0.0 of these plugins requires a Docker engine newer than 28.2
  • Fix socket bug when running plugin on MacOS

check-container-stats-v2.0.0.tar.gz

Release tarball
application/gzip 2025-11-17 Download from Github

Release v1.0.0

Changelog

  • Breaking change in check_container_stats_docker.py
    • Instead of calling the docker-binary via subprocess.run() the plugin now directly queries the Docker daemon API via the socket file. This results in a number of key improvements:
    • Execution time cut in half (I measured an average of ~1s instead of 2.5s in v0.x)
    • Precision of perfdata metrics for net I/O and block device I/O improved (as we now get the counters in raw bytes from the API instead of rounded KB/MB/GB values from docker stats output)
    • No change in input parameters
    • No change in perfdata metrices (besides additional min/max values)
  • Additional plugin check_docker_system.py was added
  • No change in check_container_stats_podman.py

check-container-stats-v1.0.0.tar.gz

Release tarball
application/gzip 2024-11-16 Download from Github

Release v0.8.0

Changelog

  • Improved unit detection in docker stats / podman stats output
  • Fixed edge case in check_container_stats_podman.py where podman returned empty metrics

check-container-stats-v0.8.0.tar.gz

Release tarball
application/gzip 2022-02-02 Download from Github
Newer Older