8000 GitHub - MirrorZ/chef-smokeping: Chef cookbook for setting up smokeping
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MirrorZ/chef-smokeping

 
 

Repository files navigation

Smokeping Cookbook

Build Status Cookbook Version

Installs and configures the SmokePing server and fping service

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

fping http://fping.org/

Requirements

Chef

Chef 11+

Platform

  • Ubuntu 10.04+
  • Debian

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

License and Author

Author:: Tim Smith (tsmith84@gmail.com)

Copyright:: 2013-2014, Limelight Networks, Inc.

License:: Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Chef cookbook for setting up smokeping

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 62.3%
  • Shell 26.5%
  • HTML 11.2%
0