cookbook 'smokeping', '= 1.1.6'
The smokeping cookbook has been deprecated
Author provided reason for deprecation:
The smokeping cookbook has been deprecated and is no longer being maintained by its authors. Use of the smokeping cookbook is no longer recommended.
smokeping (9) Versions 1.1.6 Follow4
Installs and configures SmokePing server with fping
cookbook 'smokeping', '= 1.1.6', :supermarket
knife supermarket install smokeping
knife supermarket download smokeping
Smokeping Cookbook
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.
Dependent cookbooks
apache2 >= 0.0.0 |
perl >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
smokeping Cookbook CHANGELOG
This file is used to list changes made in each version of the smokeping cookbook.
v1.1.6
- Add contributing doc
- Add license file
- Expand requirements section of the readme
- Add more files to the chefignore file
- Use standard chef .gitignore file
- Add source_url and issues_url to the metadata file
- Skip Test Kitchen gem installs on travis
- Add a changelog file
- Breakout Gemfile into groups
Foodcritic Metric
1.1.6 failed this metric
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/01d468c202bcf3cfc5b8fb01/smokeping/recipes/example_master.rb:23
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/01d468c202bcf3cfc5b8fb01/smokeping/recipes/example_master.rb:24
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/01d468c202bcf3cfc5b8fb01/smokeping/recipes/master.rb:25
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/01d468c202bcf3cfc5b8fb01/smokeping/recipes/slave.rb:23
1.1.6 failed this metric
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/01d468c202bcf3cfc5b8fb01/smokeping/recipes/example_master.rb:24
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/01d468c202bcf3cfc5b8fb01/smokeping/recipes/master.rb:25
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/01d468c202bcf3cfc5b8fb01/smokeping/recipes/slave.rb:23