smokeping-setup: Fixed readability and typos
This commit is contained in:
@@ -5,7 +5,7 @@ Intructions for setting up SmokePing on Alpine Linux
|
|||||||
Needed packages: smokeping lighttpd
|
Needed packages: smokeping lighttpd
|
||||||
|
|
||||||
make sure to empty the remote secret file (/etc/smokeping/smokeping_secrets),
|
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`
|
you also need to correct the permissions `chown smokeping:smokeping /etc/smokeping/smokeping_secrets`
|
||||||
|
|
||||||
Lighttpd (/etc/lighttpd/lighttpd.conf)
|
Lighttpd (/etc/lighttpd/lighttpd.conf)
|
||||||
```
|
```
|
||||||
@@ -171,7 +171,7 @@ Start and Enable services on boot `service smokeping start && service lighttpd s
|
|||||||
|
|
||||||
### On Main
|
### 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 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
|
+remotehostname
|
||||||
display_name=Remote-Hostname
|
display_name=Remote-Hostname
|
||||||
@@ -216,6 +216,6 @@ stop() {
|
|||||||
eend $?
|
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`
|
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`
|
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