Skip to content
Sample project to use monigusto with vagrant
Ruby Shell
Find file
Latest commit 91ac358 Apr 21, 2013 @jedi4ever jedi4ever Merge pull request #16 from viq/patch-1
Update Gemfile
Failed to load latest commit information.
cookbooks
data_bags
definitions
monigusto
roles
site-cookbooks
.gitignore work in progress Oct 1, 2012
.rvmrc
Gemfile
README.md added librato backend description Feb 7, 2013
Rakefile
Vagrantfile update chef first always Feb 9, 2013
knife.rb
solo.rb

README.md

Description:

"monigusto" - "hearty or keen enjoyment while monitoring"

The monigusto project aims to provide the equivalent of vagrant up but for monitoring and logging:

A single server box that contains the most common/current tools for monitoring like graphite, statsd, collectd, nagios, logstash, jmxtrans, tasseo , gdash , librato and sensu . Then it becomes easy for a developer to get used to the management and monitoring and without the hassle of setting it up from scratch or finding out how to make it work together

Usage:

Setup a sample project

git clone https://github.com/monigusto/vagrant-monigusto.git monigusto
cd monigusto

Install necessary gems

gem install bundler
bundle install

Install necessary cookbooks

bundle exec rake monigusto:install

This will install the cookbooks required for monigusto in monigusto/cookbooks. You can use your own cookbooks in site-cookbooks or cookbooks

Download the basebox

bundle exec vagrant box add ubuntu-12.04 https://opscode-vm.s3.amazonaws.com/vagrant/boxes/opscode-ubuntu-12.04.box

Spinup a client and server

bundle exec vagrant up server
bundle exec vagrant up client

Customize the configuration

Files that might need customization:

  • Vagrantfile
  • nodes/*.json
  • roles/*.json

Network configuration

This currently assumes the following:

  • client : 192.168.33.10
  • server : 192.168.33.11

Network ports

Mapped by Vagrant

Accessible from your client

  • graphite: tcp/2003
  • statsd: udp/8125
  • logstash: tcp/5959
  • elasticsearch: tcp/9200

Update monigusto

bundle exec rake monigusto:update

Customize a basebox

Use the prebuild image

https://opscode-vm.s3.amazonaws.com/vagrant/boxes/opscode-ubuntu-12.04.box

Build it with veewee/bentoo

bundle exec vagrant basebox build ubuntu-12.04
bundle exec vagrant basebox export ubuntu-12.04
bundle exec vagrant add ubuntu-12.04 ubunty-12.04.box

Technology used

Collectd

Graphite

Nagios

JMX trans

Statsd

Logstash

Tasseo (graphite dashboard)

Sensu

Chef

Something went wrong with that request. Please try again.