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

mcelog (5) Versions 0.2.0

Installs/Configures mcelog to catch and decode hardware errors from the Linux kernel

Berkshelf/Librarian
Policyfile
Knife
cookbook 'mcelog', '= 0.2.0'
cookbook 'mcelog', '= 0.2.0', :supermarket
knife cookbook site install mcelog
knife cookbook site download mcelog
README
Dependencies
Changelog
Quality 100%

mcelog Cookbook

Build Status Cookbook Version

Installs and configures mcelog for decoding kernel hardware error messages on Linux

Requirements

Chef

Chef 11+

Platform

  • Ubuntu 10.04+
  • Debian
  • RHEL based distros

Cookbooks:

None

Attributes

platform specific attributes (auto set)

  • default['mcelog']['conf_dir'] = '/etc'
  • default['mcelog']['service_name'] = 'mcelogd'

config options

  • default['mcelog']['cpu'] = nil
  • default['mcelog']['cpumhz'] = nil
  • default['mcelog']['filter'] = 'yes'
  • default['mcelog']['dmi'] = 'no'

logging options

  • default['mcelog']['syslog'] = 'yes'
  • default['mcelog']['syslog-error'] = 'yes'
  • default['mcelog']['logfile'] = '/var/log/mcelog' # this can only be used if syslog is not active
  • default['mcelog']['filter-memory-errors'] = 'no'
  • default['mcelog']['raw'] = 'no'

user/group settings

  • default['mcelog']['run-credentials-user'] = 'root'
  • default['mcelog']['run-credentials-group'] = 'root'
  • default['mcelog']['server']['client-user'] = 'root'
  • default['mcelog']['server']['client-group'] = 'root'

dimm monitoring settings

  • default['mcelog']['dimm']['dimm-tracking-enabled'] = 'yes'
  • default['mcelog']['dimm']['dmi-prepopulate'] = 'yes'
  • default['mcelog']['dimm']['uc-error-threshold'] = '1 / 24h'
  • default['mcelog']['dimm']['ce-error-threshold'] = '10 / 24h'

cpu monitoring settings

  • default['mcelog']['socket']['socket-tracking-enabled'] = 'yes'
  • default['mcelog']['socket']['mem-uc-error-threshold'] = '100 / 24h'
  • default['mcelog']['socket']['mem-ce-error-trigger'] = 'socket-memory-error-trigger'
  • default['mcelog']['socket']['mem-ce-error-threshold'] = '100 / 24h'
  • default['mcelog']['socket']['mem-ce-error-log'] = 'yes'

cpu cache settings

  • default['mcelog']['cache']['cache-threshold-trigger'] = 'cache-error-trigger'
  • default['mcelog']['cache']['cache-threshold-log'] = 'yes'

memory page settings

  • default['mcelog']['page']['memory-ce-threshold'] = '10 / 24h'
  • default['mcelog']['page']['memory-ce-log'] = 'yes'
  • default['mcelog']['page']['memory-ce-action'] = 'soft'

trigger settings

  • default['mcelog']['trigger']['children-max'] = 2
  • default['mcelog']['trigger']['directory'] = '/etc/mcelog'

Usage

Apply to the node

License and Author

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

Copyright:: 2013-2014, Limelight Networks, Inc

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

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

mcelog Cookbook CHANGELOG

This file is used to list changes made in each version of the mcelog cookbook.

v0.2.0

  • Use standard Chef .gitignore file
  • Add travis.yml file for testing
  • Remove use of hash rockets in the rubocop.yml file
  • Add a Berksfile
  • Add a Contributing doc
  • Update and breakout deps in the Gemfile
  • Add badges and requirements information to the readme
  • Add chefignore to limit what files are uploaded to the server
  • Add basic chefspec converge test
  • Add source_url and issues_url to metadata.rb
  • Add a changelog file

Foodcritic Metric
            

0.2.0 passed this metric