Docker

This plugin provides native Docker instrumentation for monitoring and metrics collection, including: container status, container number, and container metrics via `docker ps`.

Sensu-Plugins-docker

Build Status Gem Version Code Climate Test Coverage Dependency Status

Functionality

This check supports docker versions >= 1.18. Check docker-engine API for more information

Files

  • check-container.rb
  • check-container-logs.rb
  • check-docker-container.rb
  • metrics-docker-container.rb
  • metrics-docker-stats.rb
  • metrics-docker-info.rb

Usage

Default docker host

By default, all the checks will try to use a default docker host if a specific docker host is not provided to the check on the command line (-H <docker_host> / --docker-host <docker_host>).

Those paramaters will be tried in this order as default docker host :

DOCKER_URL environnement variable
DOCKER_HOST environnement variable
/var/run/docker.sock file

Installation

Installation and Setup

Notes

docker-engine API

Get Integration

Stats

27 stars on GitHub
16 open issues on GitHub
45 open forks on GitHub

Sensu Integrations

Sensu integrations and extensions are available for dozens of modern applications and services.