There are many way to try out Docker Shinken, a really slick one is creating a stack on Play with Docker.
Login or signup, then create a new instance.
Download a Docker Shinken application definition:
# shinken_basic
curl -Lo docker-compose.yml https://gist.github.com/cornernote/695cc633680df7b5ccfd02ffa6dd5ab0/raw/ab8f36617a636212692cfe4d93b27b5ed873823d/shinken_basic.docker-compose.yml
# shinken_thruk
curl -Lo docker-compose.yml https://gist.github.com/cornernote/695cc633680df7b5ccfd02ffa6dd5ab0/raw/ab8f36617a636212692cfe4d93b27b5ed873823d/shinken_thruk.docker-compose.yml
# shinken_thruk_graphite
curl -Lo docker-compose.yml https://gist.github.com/cornernote/695cc633680df7b5ccfd02ffa6dd5ab0/raw/ab8f36617a636212692cfe4d93b27b5ed873823d/shinken_thruk_graphite.docker-compose.yml
Download the configuration
mkdir configs
curl -Lo configs/docker_shinken.cfg https://gist.github.com/cornernote/695cc633680df7b5ccfd02ffa6dd5ab0/raw/ab8f36617a636212692cfe4d93b27b5ed873823d/docker_shinken.cfg
And start the stack
docker-compose up -d
Your services will be available on their mapped port, just click the label right next to the node IP address.
Login with admin
/ admin
.
If the link to the exposed port does not show then you can determine it from the SSH link provided. Simply convert the link as follows then visit the page.
Change:
ssh [email protected]
To:
http://EXAMPLE-80.direct.labs.play-with-docker.com
If nginx complains about a bad gateway, you may just need to wait about 60 seconds for everything to start up.
It may also be you have an invalid configuration file. See logs below.
When all else fails, check the logs.
Container logs:
docker-compose logs -f shinken
Shinken logs:
docker-compose exec shinken bash
tail -f /var/log/shinken/*.log