Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

sensu_server (1) Versions 0.1.0

Setup a Sensu Server

Berkshelf/Librarian
Policyfile
Knife
cookbook 'sensu_server', '~> 0.1.0'
cookbook 'sensu_server', '~> 0.1.0', :supermarket
knife cookbook site install sensu_server
knife cookbook site download sensu_server
README
Dependencies
Quality

sensu_server cookbook

A wrapper around the sensu cookbook to install & setup a sensu-server.

See sensuapp.com for more information about Sensu.

Requirements

sensu cookbook - https://github.com/sensu/sensu-chef

Usage

If you are using SSL (recommended), you need to have the ssl certificates in a databag. A script is provided with the sensu-chef cookbook to do this.

If you are using Chef Server (or Hosted Chef), you should do this on your workstation (where knife is setup):

git clone https://github.com/sensu/sensu-chef.git
cd sensu-chef/examples/ssl
./ssl_certs.sh generate
knife data bag create sensu
knife data bag from file sensu ssl.json
./ssl_certs.sh clean

If you are using Chef Solo, you can follow the instructions above, but instead of the "knife data bag" commands, you should create a sensu directory under the directory you configured as "data_bag_path" in your solo.rb file and copy the ssl.json file into it. If you are using Chef Solo with Vagrant, you can set the data_bag_path using:

config.vm.provision "chef_solo" do |chef|
  chef.data_bags_path = "data_bags"
end

If you are not using SSL (not recommended), you need to set [:sensu][:rabbitmq][:user_ssl] to false (see below).

Once you have the SSL certificates in place (or SSL disabled), include default recipe in your run list.

You can do this by including it as a dependancy (in metadata.rb) in your wrapper cookbook and using: include_recipe 'sensu_server', or by including sensu_server in a role or node's run list.

Attributes

You can set any of the sensu attributes detailed in the README for the sensu cookbook.

For example, if you wanted to turn off SSL (not recommend), then you could do this:

In a recipe:

node.override[:sensu][:use_ssl] = false

In an attributes file:

override[:sensu][:use_ssl] = false

Recipes

default - install rabbitmq, redis + sensu and setup the server, api and dashboard services.

Author

Author:: Ian Chilton (ian@ichilton.co.uk)

Dependent cookbooks

sensu >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.0 failed this metric

FC064: Ensure issues_url is set in metadata: sensu_server/metadata.rb:1
FC065: Ensure source_url is set in metadata: sensu_server/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sensu_server/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.1.0 failed this metric

sensu_server does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.

No Binaries Metric
            

0.1.0 passed this metric

Publish Metric
            

0.1.0 passed this metric

Supported Platforms Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.0 passed this metric