Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
monitors:docker_swarm [2017/05/30 08:20] – created lodger | monitors: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 |
^ Download | https:// | ^ Download | https:// | ||
^ Last Update | 2017-05-30 | | ^ Last Update | 2017-05-30 | | ||
===== Description ===== | ===== Description ===== | ||
- | This Xymon monitor | + | 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/ | 3.) after copying, edit docker-swarm.cfg to your needs by adding/ | ||
- | 4.) add the following lines to your clientlaunc.cfg on your docker swarm manager node (on Debian based distributions you can find it at / | + | 4.) add the following lines to your clientlaunch.cfg on your docker swarm manager node (on Debian based distributions you can find it at / |
< | < | ||
Line 27: | Line 27: | ||
</ | </ | ||
- | === Server side === | + | 5.) add the xymon user to the docker group (example for Debian based distributions): |
+ | < | ||
+ | usermod -aG docker xymon | ||
+ | </ | ||
+ | |||
+ | 6.) restart the xymon client on your swarm manager node. | ||
+ | |||
+ | === Server side === | ||
+ | Nothing | ||
===== Source ===== | ===== Source ===== | ||
==== docker-swarm.sh ==== | ==== docker-swarm.sh ==== |