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

smokeping (9) Versions 1.1.3

Installs and configures SmokePing server with fping

Berkshelf/Librarian
Policyfile
Knife
cookbook 'smokeping', '= 1.1.3'
cookbook 'smokeping', '= 1.1.3', :supermarket
knife cookbook site install smokeping
knife cookbook site download smokeping
README
Dependencies
Quality 0%

Smokeping Cookbook

Build Status

Installs and configures the SmokePing server and fping service

SmokePing: http://oss.oetiker.ch/smokeping/

fping http://fping.sourceforge.net/

Requirements

Platform

  • Ubuntu 10.04 / Ubuntu 12.04
  • Debian

Chef Cookbooks

  • Apache cookbook
  • Perl cookbook

Attributes

default['smokeping']['site_remark_owner'] = 'Some Company'
default['smokeping']['admin_name']  = '<admin name>'
default['smokeping']['admin_email']  = '<admin email>'
default['smokeping']['alert_email']  = '<alert email>'

Usage

The right way to use this cookbook is to create a new site-specific cookbook that look up the needed data and pass them to this cookbook via the Target provider.

Using the Target provider

  # Expected data structure
   data = {
     "name" => "Production"
      nodes => ["nodea", "nodeb"],
      slaves => ["nodeb"]
   }

   smokeping_target "name" do
   action :create
   variables(
      :data => data
      )
   end

Apply the recipe to a the nodes runlist and run Chef

Dependent cookbooks

perl >= 0.0.0
apache2 >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

1.1.3 failed this metric

FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/ae562ed95b160e7b4ae3bfee/smokeping/recipes/example_master.rb:23
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/ae562ed95b160e7b4ae3bfee/smokeping/recipes/example_master.rb:24
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/ae562ed95b160e7b4ae3bfee/smokeping/recipes/master.rb:25
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/ae562ed95b160e7b4ae3bfee/smokeping/recipes/slave.rb:23
FC034: Unused template variables: /tmp/cook/ae562ed95b160e7b4ae3bfee/smokeping/templates/default/smokeping_secrets.erb:1