From a50a7c659beebbc7752e2bf99caee08bbc8e8a2e Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Fri, 22 Mar 2024 19:47:15 +0000 Subject: [PATCH] Bot Updating Templated Files --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index e9e53f7..74b9037 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ The architectures supported by this image are: * To reload the configuration without restarting the container, run `docker exec smokeping pkill -f -HUP '/usr/bin/perl /usr/s?bin/smokeping(_cgi)?'`, where `smokeping` is the container ID. * To restart the container, run `docker restart smokeping`, where `smokeping` is the container ID. * Note that the default `Targets` file includes items that may or may not work. These are simply to provide examples of configuration. +* Slave setup: modify the `Targets`, `Slaves`, and `smokeping_secrets` files on the master host, per [the documentation](https://manpages.ubuntu.com/manpages/trusty/en/man7/smokeping_master_slave.7.html). ## Usage @@ -82,6 +83,9 @@ services: - PUID=1000 - PGID=1000 - TZ=Etc/UTC + - MASTER_URL=http://:80/smokeping/ #optional + - SHARED_SECRET=password #optional + - CACHE_DIR=/tmp #optional volumes: - /path/to/smokeping/config:/config - /path/to/smokeping/data:/data @@ -98,6 +102,9 @@ docker run -d \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Etc/UTC \ + -e MASTER_URL=http://:80/smokeping/ `#optional` \ + -e SHARED_SECRET=password `#optional` \ + -e CACHE_DIR=/tmp `#optional` \ -p 80:80 \ -v /path/to/smokeping/config:/config \ -v /path/to/smokeping/data:/data \ @@ -115,6 +122,9 @@ Containers are configured using parameters passed at runtime (such as those abov | `-e PUID=1000` | for UserID - see below for explanation | | `-e PGID=1000` | for GroupID - see below for explanation | | `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). | +| `-e MASTER_URL=http://:80/smokeping/` | Specify the master url to connect to. Used when in slave mode. | +| `-e SHARED_SECRET=password` | Specify the master shared secret for this host. Used when in slave mode. | +| `-e CACHE_DIR=/tmp` | Specify the cache directory for this host. Used when in slave mode. | | `-v /config` | Persistent config files | | `-v /data` | Storage location for db and application data (graphs etc) | @@ -279,6 +289,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **22.03.24:** - Adding ability to run as a slave. * **23.12.23:** - Rebase to Alpine 3.19. * **29.11.23:** - Bump tcpping to 1.8. * **21.11.23:** - Add support for IRTT Probes.