Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_docker
Current Version
2.0
Last Release Date
2018-06-14
Compatible With
- Nagios 3.x
- Nagios 4.x
- Nagios XI
Owner
License
GPL
Hits
11871
Files:
File | Description |
---|---|
check_docker | check_docker v2.0 |
check_docker.sha512.checksum | check_docker.sha512.checksum |
## 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)
byadlerweb, February 4, 2021
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
For newer docker installations line 13 must be changed to avoid spurious warnings:
mkdir -p /tmp/.docker ; touch /tmp/.docker/config.json