Installs and configures mcelog for decoding kernel hardware error messages on Linux.
- Debian/Ubuntu
- RHEL based distros 6+
- Chef 12.1+
None
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 to the node
Author:: Cookbook Engineering Team ([email protected]) 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
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.