smokeping-setup: Fixed readability and typos
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user