check-container-stats

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

Release v1.0.0 latest

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

Release v0.7.0

Initial release

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

Release tarball
application/gzip 2021-12-09 Download from Github