From 23adebf8967b9fc1856fa92577d90c8530eb348d Mon Sep 17 00:00:00 2001 From: El Acheche ANIS Date: Thu, 20 Apr 2017 16:44:14 +0100 Subject: [PATCH] Update README.md. This should fix #1 --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 4821405..7cc40db 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,11 @@ curl https://raw.githubusercontent.com/elacheche/docker_check/master/docker_chec chmod +x /usr/lib/nagios/plugins/docker_check.py ``` +## Add nagios user to docker group: +``` +sudo usermod -a -G docker nagios +``` + ## Configure the monitoring server: In this section I'll illustrete how to setup the script to be used by [Icinga2](https://www.icinga.com/products/icinga-2/) via the *by_ssh* plugin.. Icinga2 is a Nagios fork, so the plugin is supposed to work with any Nagios fork, the sconfig files and syntax may change from a frok to an other