cookbook 'mcelog', '= 1.0.0'
mcelog
(22) Versions
1.0.0
-
Follow2
Installs/Configures mcelog to catch and decode hardware errors from the Linux kernel
cookbook 'mcelog', '= 1.0.0', :supermarket
knife supermarket install mcelog
knife supermarket download mcelog
mcelog Cookbook
Installs and configures mcelog for decoding kernel hardware error messages on Linux.
Requirements
Platforms
- Debian/Ubuntu
- RHEL based distros 6+ (RHEL 5.X will not work due to the old package included)
Chef
Chef 11+
Cookbooks:
None
Attributes
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 & Authors
Author:: Tim Smith()
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.
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
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
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 passed this metric
Version Tag Metric
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 passed this metric
Version Tag Metric
1.0.0 passed this metric
1.0.0 passed this metric
1.0.0 passed this metric
Testing File Metric
1.0.0 passed this metric
Version Tag Metric
1.0.0 passed this metric
1.0.0 passed this metric
1.0.0 passed this metric