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

Select Status


mcelog (22) Versions 2.0.1

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

cookbook 'mcelog', '= 2.0.1', :supermarket
cookbook 'mcelog', '= 2.0.1'
knife supermarket install mcelog
knife supermarket download mcelog
Quality 67%

mcelog Cookbook

Build Status Cookbook Version

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



  • Debian/Ubuntu
  • RHEL based distros 6+


  • Chef 12.1+




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'


Apply to the node

License & Authors

Author:: Cookbook Engineering Team (
Copyright:: 2013-2014, Limelight Networks, Inc.
Copyright:: 2017, Chef Software, 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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
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.

2.0.1 (2020-01-02)

  • Correct path of mcelog.conf for rhel fedora - @ashangit
  • Update specs to 16.04 - @tas50
  • Updates for cookstyle - @tas50

2.0.0 (2017-03-01)

  • Use ChefDK for test deps and not the Gemfile
  • Add Github issue and PR templates
  • Test using Local Delivery and not Rake
  • Move ownership over to Chef from tas50
  • Require Chef 12.1+

v1.0.0 (2016-01-31)

  • Add integration testing with Test Kitchen and kitchen-docker in Travis CI
  • Add support for RHEL 7
  • Bump the minimum RHEL release to 6 as 5 was actually broken before
  • Add inspec tests to ensure the service is started
  • Remove the attributes for service name and config dir and instead use helper methods


  • 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

Collaborator Number Metric

2.0.1 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric

2.0.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Foodcritic Metric

2.0.1 passed this metric

No Binaries Metric

2.0.1 passed this metric

Testing File Metric

2.0.1 passed this metric

Version Tag Metric

2.0.1 passed this metric