monitors:docker_swarm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
monitors:docker_swarm [2017/05/30 08:20] – created lodgermonitors:docker_swarm [2017/05/30 09:06] (current) – [docker-swarm.sh - Docker] lodger
Line 3: Line 3:
 ^ Author | [[ webmaster@ufud.org | Niels Haedecke ]] | ^ Author | [[ webmaster@ufud.org | Niels Haedecke ]] |
 ^ Compatibility | Xymon 4.3 | ^ Compatibility | Xymon 4.3 |
-^ Requirements | Bash, Docker |+^ Requirements | Bash, Docker >= 1.12 |
 ^ Download | https://github.com/ufud-org/docker-swarm.sh | ^ Download | https://github.com/ufud-org/docker-swarm.sh |
 ^ Last Update | 2017-05-30 | ^ Last Update | 2017-05-30 |
  
 ===== Description ===== ===== Description =====
-This Xymon monitor script provides a status monitor for your docker containers running in docker swarm mode (requires docker >= 1.12). It requires that a xymon client is installed on your docker swarm manager node.+This Xymon script provides a status monitor for your docker containers running in docker swarm mode (requires docker >= 1.12). It requires that a xymon client is installed on your docker swarm manager node.
 ===== Installation ===== ===== Installation =====
 === Client side === === Client side ===
Line 17: Line 17:
 3.) after copying, edit docker-swarm.cfg to your needs by adding/modifying the service names you want the script to check on the cluster, one service name per line. As an example, preconfigured docker-swarm.cfg already contains some service names (mariadb, git, etc.). 3.) after copying, edit docker-swarm.cfg to your needs by adding/modifying the service names you want the script to check on the cluster, one service name per line. As an example, preconfigured docker-swarm.cfg already contains some service names (mariadb, git, etc.).
  
-4.) add the following lines to your clientlaunc.cfg on your docker swarm manager node (on Debian based distributions you can find it at /usr/lib/xymon/client/etc/clientlaunch.cfg):+4.) add the following lines to your clientlaunch.cfg on your docker swarm manager node (on Debian based distributions you can find it at /usr/lib/xymon/client/etc/clientlaunch.cfg):
  
 <code> <code>
Line 27: Line 27:
 </code> </code>
  
-=== Server side ===+5.) add the xymon user to the docker group (example for Debian based distributions): 
  
 +<code>
 +usermod -aG docker xymon
 +</code>
 +
 +6.) restart the xymon client on your swarm manager node.
 +
 +=== Server side ===
 +Nothing
 ===== Source ===== ===== Source =====
 ==== docker-swarm.sh ==== ==== docker-swarm.sh ====
  • monitors/docker_swarm.1496132425.txt.gz
  • Last modified: 2017/05/30 08:20
  • by lodger