Coder Social home page Coder Social logo

vagrant-flapjack's Introduction

vagrant-flapjack

Easy to use demo of Flapjack managed with Vagrant

Dependencies

  • Vagrant
  • VirtualBox or VMware Fusion
  • (optional) vagrant-cachier - vagrant plugin install vagrant-cachier
    • caches packages so any subsequent vagrant up will use cached packages.

Running

git clone https://github.com/flpjck/vagrant-flapjack.git
cd vagrant-flapjack
vagrant up

Note: A vagrant up will look to see if the VAGRANT_CACHE environment variable is set, and enable the use of the vagrant-cachier plugin (or other cache plugin that may be installed) if it is.

To make use of the cache:

VAGRANT_CACHE=yes vagrant up

If you get some errors during package installation that look like corrupt package files or similar, you may want to disable the caching by running vagrant up without the VAGRANT_CACHE=yes bit.

Accessing

Production:

Usage

Flapjack, Redis, Icinga and Nagios should all be running after vagrant up completes, you can access their web interfaces with the links above. To poke around further, ssh into the VM:

vagrant ssh

Icinga is configured to feed its events to Flapjack using flapjackfeeder. If you want to also enable Nagios to feed its events to Flapjack, you can enable the flapjackfeeder event broker module like so:

vagrant-flapjack$ vagrant ssh
vagrant@flapjack:~$ sudo sed -i 's!#broker_module=/usr/local/lib/flapjackfeeder!broker_module=/usr/local/lib/flapjackfeeder!' /etc/nagios3/nagios.cfg
vagrant@flapjack:~$ sudo service nagios3 restart

vagrant-flapjack's People

Contributors

adrianlzt avatar aussielunix avatar auxesis avatar bs-github avatar danp avatar jessereynolds avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.