Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_docker

Current Version
2.0
Last Release Date
2018-06-14
Compatible With
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
GPL
Hits
13681
Files:
FileDescription
check_dockercheck_docker v2.0
check_docker.sha512.checksumcheck_docker.sha512.checksum
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
###[INFO]#####################

## check_docker
## v2.0, modified on 2018-06-14
## moritoring-plugin to check Docker-Containers
## only for remote execution
## written by Alexander Knerlein
## made in West Germany
## GNU General Public License Version 3


#...HELP...?!

User should be member of group "docker"!
To change group membership run gpasswd or usermod.

Otherwise execute directly as root or use sudo! (not recommended)

use check_docker [--help|-?] for help
use check_docker [--info] for information about

use check_docker without any arguments for state-check
Critical states are Exited != 0 and Dead.

Additional arguments:

-w [numeric]
Adds a cpu-check warning value (in %).

-c [numeric]
Adds a cpu-check critical value (in %).

-x [numeric]
Adds a memory-check warning value (in %).

-y [numeric]
Adds a memory-check critical value (in %).
Reviews (1)
Small and easy to use plugin to give a generic overview over a docker system without requiring any additional dependencies besides bash and docker.

For newer docker installations line 13 must be changed to avoid spurious warnings:

mkdir -p /tmp/.docker ; touch /tmp/.docker/config.json