cookbook 'smokeping', '= 1.1.2'
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.2 Follow4
Installs and configures SmokePing server with fping
cookbook 'smokeping', '= 1.1.2', :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.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
apache2 >= 0.0.0 |
perl >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
1.1.2 failed this metric
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/6d3f43792835b6f63ddfd1d9/smokeping/recipes/example_master.rb:23
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/6d3f43792835b6f63ddfd1d9/smokeping/recipes/example_master.rb:24
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/6d3f43792835b6f63ddfd1d9/smokeping/recipes/master.rb:25
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/6d3f43792835b6f63ddfd1d9/smokeping/recipes/slave.rb:23
FC034: Unused template variables: /tmp/cook/6d3f43792835b6f63ddfd1d9/smokeping/templates/default/smokeping_secrets.erb:1
1.1.2 failed this metric
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/6d3f43792835b6f63ddfd1d9/smokeping/recipes/example_master.rb:24
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/6d3f43792835b6f63ddfd1d9/smokeping/recipes/master.rb:25
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/6d3f43792835b6f63ddfd1d9/smokeping/recipes/slave.rb:23
FC034: Unused template variables: /tmp/cook/6d3f43792835b6f63ddfd1d9/smokeping/templates/default/smokeping_secrets.erb:1