check_docker
check_docker copied to clipboard
A Go Nagios check for Docker
I think the instructions are slightly incorrect; "go get github.com/newrelic/check_docker" will fetch the go_nagios repo and install the binary in $GOCODE/bin. (This is my first time building something with Go,...
Emit [performance data](http://docs.pnp4nagios.org/pnp-0.6/about#system_requirements) (see also [here](https://nagios-plugins.org/doc/guidelines.html#AEN200)) for consumption by Nagios pnp4graph. Changes the following normal output: ``` $ ./check_docker -base-url="http://localhost:1234" OK: 1 containers ``` to this: ``` $ ./check_docker -base-url="http://localhost:1234"...
Fix for Issue #12, cannot assign *docker.DockerInfo to cd.dockerInfoData (type *docker.Env) in multiple assignment
Hi, First thanks for writing this package, it works very well and saved us having to write something ourselves :) That said, we have our health checks handled by Consul,...
Allow multiple `--image-id` and `--container-name` arguments to be specified on the command line.
I tried to build check_docker with go 1.3 standard Debian wheezy package installed and it failed. I downloaded and installed go 1.6 from golang.org and got the same result, as...
Hi, Sometime docker does not respond (unix socket in my scenario). When this happens, check_docker hangs forever. As we would like it to be a critical, for now we have...
Given a `docker ps` like this: ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES edefe9ea93f8 foo/baz:59977daa1075abda15d7495781c1cf458e0cd863 script/run 3 days ago Up 3 days 0.0.0.0:8485->80/tcp dreamy_archimedes 3e656b925a5c foo/baz:59977daa1075abda15d7495781c1cf458e0cd863 script/run 3...
When checking against our docker systems check_docker is returning the following: CRITICAL: 17 containers - Meta Space Used: 818% - Meta Space Used: 818% Docker info reports the following: ```...