Giter Club home page Giter Club logo

sensu-admin-chef's Introduction

DESCRIPTION

Installs sensu-admin, a web interface for the Sensu API.

NOTE: sensu-admin has not been updated to support sensu >= 0.14.0; as a result this cookbook has become deprecated and is not likely to recieve updates. You may wish to consider using uchiwa-chef to install uchiwa instead.

TESTING

This cookbook uses test-kitchen. To converge and run tests:

gem install bundler
bundle install
bundle exec kitchen verify

Once converged, you may connect to the test-kitchen VM's IP in your browser and login as [email protected] with the password 'secret'.

COOKBOOK DEPENDENCIES

  • mysql-chef_gem - mysql-chef_gem::default recipe required to satisify mysql2 gem prerequisites
  • ruby - only used by Vagrantfile

REQUIREMENTS

SSL configuration

For ease of use with Vagrant, example ssl data is included in the data_bags directory. Please don't use this certificate in a live environment.

RECIPES

sensu-admin::default

Installs sensu-admin rails app running on unicorn, front-ended by an nginx or apache proxy.

sensu-admin::nginx.rb

Install nginx as frontend http server (default)

sensu-admin::apache.rb

Install apache as frontend http server instead of nginx (see attribute below)

sensu-admin::deploy.rb

Deploy sensu admin code from github repo

sensu-admin::unicorn.rb

Setup unicorn configuration and init scripts for sensu-admin

ATTRIBUTES

node.sensu.admin.user - user to run sensu-admin as, defaults to 'sensu'

node.sensu.admin.group - ditto above

node.sensu.admin.host - hostname which nginx is configured to proxy for

node.sensu.admin.http_port - nginx http port, defaults to '80'

node.sensu.admin.https_port - nginx https port, defaults to '443'

node.sensu.admin.backend_port - unicorn port, defaults to '8888'

node.sensu.admin.repo - repo url for sensu-admin app

node.sensu.admin.release - specifies revision of sensu-admin to deploy

node.sensu.admin.base_path - path where sensu-admin will be deployed, defaults to '/opt/sensu/admin'

node.sensu.admin.frontend - 'nginx', 'apache' or 'none' for user facing http - defaults to 'nginx'. 'none' does not install a frontend which could allow for integration with othe existing frontend proxys.

sensu-admin-chef's People

Contributors

cwjohnston avatar sdadh01 avatar zarry avatar

Watchers

James Cloos 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.