Giter Club home page Giter Club logo

sensu-chef's Introduction

DESCRIPTION

Installs and configures the Sensu server, client, API and dashboard components, installs and configures RabbitMQ and Redis for Sensu. Sensu is a monitoring framework that aims to be simple, malleable, and scalable (https://github.com/sensu/sensu).

COOKBOOK DEPENDENCIES

REQUIREMENTS

SSL Configuration

A data bag with SSL configuration for RabbitMQ is required, details on creating the data bag can be found at https://github.com/sensu/sensu-chef/tree/master/examples/ssl

RECIPES

sensu::default

Installs and configures Sensu and dependencies, but doesn't enable or start any Sensu services.

sensu::server

Configures and enables the Sensu server service, "sensu-server".

sensu::client

Configures and enables the Sensu Client service, "sensu-client".

sensu::api

Configures and enables the Sensu API service, "sensu-api", optionally configures local firewall rules if the firewall attribute is set.

sensu::dashboard

Configures and enables the Sensu dashboard service, "sensu-dashboard", optionally configures local firewall rules if the firewall attribute is set.

sensu::rabbitmq

Installs and configures RabbitMQ with the Sensu vhost, adds SSL support by default and optionally configures local firewall rules if the firewall attribute is set.

sensu::redis

Installs and configures Redis and optionally configures local firewall rules if the firewall attribute is set.

EXAMPLES

Example roles are provided within the examples directory and provide a good overview of a standard Sensu setup. A vagrantfile is also provided for setting up a local test instance using this cookbook. A Cheffile example is also provided for use with Librarian-chef.

ATTRIBUTES

default

  • default.sensu.version - Version of Sensu to install
  • default.sensu.plugin.version - Version of Sensu Plugin gem to install
  • default.sensu.directory - Directory to store Sensu configs (defaults to "/etc/sensu")
  • default.sensu.log.directory - Directory to store Sensu logs (defaults to "/var/log/sensu")
  • default.sensu.ssl - If true, Sensu and RabbitMQ will use SSL encryption (defaults to true)
  • default.sensu.sudoers - If true, adds Sensu sudoers config to /etc/sudoers.d/sensu (defaults to false)
  • default.sensu.firewall - If true, will configure iptables for each sensu component - requires the iptables cookbook to be available (defaults to false)
  • default.sensu.package.unstable - If true, will allow for the installation of unstable packages (defaults to false)

rabbitmq

  • default.sensu.rabbitmq.host - Host for RabbitMQ service (defaults to "localhost")
  • default.sensu.rabbitmq.port - Port for RabbitMQ (defaults to 5671)
  • default.sensu.rabbitmq.vhost - Vhost for RabbitMQ (defaults to "/sensu")
  • default.sensu.rabbitmq.user - User for RabbitMQ vhost authentication (defaults to "sensu")
  • default.sensu.rabbitmq.password - Password for RabbitMQ vhost authentication (defaults to "password")

redis

  • default.sensu.redis.host - Host for Redis service (defaults to "localhost")
  • default.sensu.redis.port - Port for Redis to listen on (defaults to 6379)

api

  • default.sensu.api.host - Host to locate Sensu API (defaults to "localhost")
  • default.sensu.api.port - Port for Sensu API to listen on (defaults to 4567)

dashboard

  • default.sensu.dashboard.host - Host to locate Sensu Dashboard (defaults to "localhost")
  • default.sensu.dashboard.port - Port for Sensu Dashboard to listen on (defaults to 8080)
  • default.sensu.dashboard.user - User for Sensu Dashboard HTTP basic authentication (defaults to "admin")
  • default.sensu.dashboard.password - Password for Sensu Dashboard HTTP basic authentication (defaults to "secret")

SUPPORT

Please visit #sensu on irc.freenode.net and we will be more than happy to help.

sensu-chef's People

Contributors

agoddard avatar chrisroberts avatar decklin avatar gilles avatar joemiller avatar maf23 avatar martinisoft avatar portertech avatar webframp avatar

Stargazers

 avatar

Watchers

 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.