graylog-labs / osdc-2015-demo

Demo setup for the OSDC 2015 conference

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSDC 2015 Demo Setup

This Vagrant setup can be used to test the Chef / Graylog / Icinga2 demo that has been presented at the OSDC 2015 conference.

Setup

You need to have Vagrant installed.

$ vagrant plugin install vagrant-triggers
$ vagrant plugin install vagrant-berkshelf
$ vagrant plugin install vagrant-omnibus
$ vagrant up monitor
$ vagrant up webserver

Application URLs

Service URL Username Password Notes
Graylog http://localhost:9000/ admin admin -
Icinga2 http://localhost:8080/icinga/ admin admin Needs manual setup via browser!
Webapp http://localhost:8081/ - - -

You have to manually set up the Icingaweb2 app by visiting the URL and answering some questions. You can mostly just use the defaults.

Find database credentials and database names in chef.json and make sure to use 127.0.0.1 instead of localhost for the database server setting!

Usage

There is a script to run chef-client on webserver. Just login to webserver via vagrant ssh webserver and execute /vagrant/run-chef-client.sh to trigger a Chef run.

The webapp cookbook can be found in cookbooks/webapp. Tweak that to see the different results in Graylog. Also try to break it to see errors in Graylog as well.

About

Demo setup for the OSDC 2015 conference

License:Apache License 2.0


Languages

Language:Ruby 83.3%Language:HTML 15.7%Language:Shell 1.0%