Easily deploy a Smokeping slave with Docker and this one weird trick!
Here we go!
- Generate a secure secret (You could use
apg -n 1 -m 16
) and think of a hostname. - Edit your smokeping_secrets file on the master and reload it.
- Edit and run this on your docker host.
docker run -d nbouwhuis/docker-smokeping-slave --hostname myawesomeslave -e "secret=lamesecret" -e "master=https://my.docker.host/cgi-bin/smokeping.cgi"
- ???
- Profit!