Installs and configures mcelog for decoding kernel hardware error messages on Linux.
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.
- Debian 9 (10+ does not include mcelog)
- RHEL based distros 7+
- Chef 12.15+
default - installs and configures mcelog
default['mcelog']['cpu']
= nildefault['mcelog']['cpumhz']
= nildefault['mcelog']['filter']
= 'yes'default['mcelog']['dmi']
= 'no'
default['mcelog']['syslog']
= 'yes'default['mcelog']['syslog-error']
= 'yes'default['mcelog']['logfile']
= '/var/log/mcelog' # this can only be used if syslog is not activedefault['mcelog']['filter-memory-errors']
= 'no'default['mcelog']['raw']
= 'no'
default['mcelog']['run-credentials-user']
= 'root'default['mcelog']['run-credentials-group']
= 'root'default['mcelog']['server']['client-user']
= 'root'default['mcelog']['server']['client-group']
= 'root'
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'
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'
default['mcelog']['cache']['cache-threshold-trigger']
= 'cache-error-trigger'default['mcelog']['cache']['cache-threshold-log']
= 'yes'
default['mcelog']['page']['memory-ce-threshold']
= '10 / 24h'default['mcelog']['page']['memory-ce-log']
= 'yes'default['mcelog']['page']['memory-ce-action']
= 'soft'
default['mcelog']['trigger']['children-max']
= 2default['mcelog']['trigger']['directory']
= '/etc/mcelog'
Apply the default recipe to the node.
This project exists thanks to all the people who contribute.
Thank you to all our backers!
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.