From 68d18a78c0dfefbf4d75cb675cb24f85735e1815 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Thu, 17 Nov 2022 15:35:31 +0100 Subject: [PATCH] smokeping-setup: Fixed readability and typos --- smokeping-setup.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/smokeping-setup.md b/smokeping-setup.md index 5d2f1da..35f908a 100644 --- a/smokeping-setup.md +++ b/smokeping-setup.md @@ -4,8 +4,8 @@ Intructions for setting up SmokePing on Alpine Linux ## Main(Master) Needed packages: smokeping lighttpd -make sure to empty the remote secret file (/etc/smokeping/smokeping_secrets), -you also need to correct the permmisions `chown smokeping:smokeping /etc/smokeping/smokeping_secrets` +make sure to empty the remote secret file (/etc/smokeping/smokeping_secrets), +you also need to correct the permissions `chown smokeping:smokeping /etc/smokeping/smokeping_secrets` Lighttpd (/etc/lighttpd/lighttpd.conf) ``` @@ -171,19 +171,19 @@ Start and Enable services on boot `service smokeping start && service lighttpd s ### On Main Add the name and a secret in in the secrets file`/etc/smokeping/smokeping_secrets` using the following format (one per line) `remotehostname:Secret` -Add the host to the slaves section using the folling exampe: +Add the host to the slaves section using the following example: ``` +remotehostname display_name=Remote-Hostname color=00ffff ``` -Add the host to the `slaves` section of the targets (should be seperated with a space) +Add the host to the `slaves` section of the targets (should be seperated with a space) Last step on main is to restart smokeping `service smokeping restart` ### On Remote Needed packages: smokeping -Put a secret in `/etc/smokeping/secret.txt` +Put a secret in `/etc/smokeping/secret.txt` set its permissions `chown smokeping:smokeping /etc/smokeping/secret.txt && chmod 600 /etc/smokeping/secret.txt` Service file(/etc/init.d/smokeping-remote) @@ -216,6 +216,6 @@ stop() { eend $? } ``` -Set permissions service file ``chmod +x /etc/init.d/smokeping-remote` +Set permissions service file `chmod +x /etc/init.d/smokeping-remote` Start and Enable service on boot `service smokeping-remote start && rc-update add smokeping-remote default` Add to Root cron tab to auto reload after crash (/etc/crontabs/root) `echo '* * * * * openrc --no-stop' >> /etc/crontabs/root`