Subversion Repositories configs

Rev

Rev 3 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 - 1
#
2
# Example config file for mcelog
3
# mcelog is the user space backend that decodes and process machine check events
4
# (cpu hardware errors) reported by the CPU to the kernel
5
#
6
 
7
# general format
8
#optionname = value
9
# white space is not allowed in value currently, except at the end where it is dropped
10
#
11
 
12
# in general all command line options that are not commands work here
13
# see man mcelog or mcelog --help for a list
14
# e.g. to enable the --no-syslog option use
15
#no-syslog = yes   (or no to disable)
16
# when the option has a argument
17
#logfile = /tmp/logfile
18
 
19
# by default, disable extended error logging on newer Intel processors
20
no-imc-log = yes
21
 
22
# below are the options which are not command line options
23
 
24
# Set CPU type for which mcelog decodes events:
25
#cpu = type
26
# for valid values for type please see mcelog --help
27
# If this value is set incorrectly the decoded output will be likely incorrect.
28
# by default when this parameter is not set mcelog uses the CPU it is running on
29
# on very new kernels the mcelog events reported by the kernel also carry
30
# the CPU type which is used too when available and not overriden.
31
 
32
# Enable daemon mode:
33
#daemon = yes
34
# By default mcelog just processes the currently pending events and exits.
35
# in daemon mode it will keep running as a daemon in the background and poll
36
# the kernel for events and then decode them.
37
 
38
# Filter out known broken events by default
39
filter = yes
40
# don't log memory errors individually
41
# they still get accounted if that is enabled
42
#filter-memory-errors = yes
43
 
44
# output in undecoded raw format to be easier machine readable
45
# (default is decoded)
46
#raw = yes
47
 
48
# Set CPU Mhz to decode uptime from time stamp counter (output
49
# unreliable, not needed on new kernels which report the event time
50
# directly. A lot of systems don't have a linear time stamp clock
51
# and the output is wrong then.
52
# Normally mcelog tries to figure out if it the TSC is reliable
53
# and only uses the current frequency then.
54
# Setting a frequency forces timestamp decoding.
55
# This setting is obsolete with modern kernels which report the time
56
# directly.
57
#cpumhz = 1800.00
58
 
59
# log output options
60
# Log decoded machine checks in syslog (default stdout or syslog for daemon)
61
#syslog = yes
62
# Log decoded machine checks in syslog with error level
63
#syslog-error = yes
64
# Never log anything to syslog
65
#no-syslog = yes
66
# Append log output to logfile instead of stdout. Only when no syslog logging is active
67
#logfile = filename
68
 
69
# Use SMBIOS information to decode DIMMs (needs root)
70
# This function is not recommended to use right now and generally not needed
71
# The exception is memdb prepopulation, which is configured separately below.
72
#dmi = no
73
 
74
# when in daemon mode run as this user after set up
75
# note that the triggers will run as this user too
76
# setting this to non root will mean that triggers cannot take some corrective
77
# action, like offlining objects
78
#run-credentials-user = root
79
# group to run as daemon with
80
# default to the group of the run-credentials-user
81
#run-credentials-group = nobody
82
 
83
[server]
84
# user allowed to access client socket.
85
# when set to * match any
86
# root is always allowed to access
87
# default: root only
88
client-user = root
89
# group allowed to access mcelog
90
# when no group is configured any group matches (but still user checking)
91
# when set to * match any
92
#client-group = root
93
# path to the unix socket for client<->server communication
94
# when no socket-path is configured the server will not start
95
#socket-path = /var/run/mcelog-client
96
# when mcelog starts it checks if a server is already running. timeout
97
# for this check.
98
#initial-ping-timeout = 2
99
#
100
[dimm]
101
# Is the in memory DIMM error tracking enabled?
102
# Only works on systems with integrated memory controller and
103
# which are supported
104
# Only takes effect in daemon mode
105
dimm-tracking-enabled = yes
106
# Use DMI information from the BIOS to prepopulate DIMM database
107
# Note this might not work with all BIOS and requires mcelog to run as root.
108
# Alternative is to let mcelog create DIMM objects on demand.
109
dmi-prepopulate = yes
110
#
111
# execute these triggers when the rate of corrected or uncorrected
112
# errors per DIMM exceeds the threshold
113
# Note when the hardware does not report DIMMs this might also
114
# be per channel
115
# The default of 10/24h is reasonable for server quality
116
# DDR3 DIMMs as of 2009/10
117
#uc-error-trigger = dimm-error-trigger
118
uc-error-threshold = 1 / 24h
119
#ce-error-trigger = dimm-error-trigger
120
ce-error-threshold = 10 / 24h
121
 
122
[socket]
123
# Memory error accounting per socket
124
socket-tracking-enabled = yes
125
# Threshold and trigger for uncorrected memory errors on a socket
126
# mem-uc-error-trigger = socket-memory-error-trigger
127
mem-uc-error-threshold = 100 / 24h
128
# Threshold and trigger for corrected memory errors on a socket
129
#mem-ce-error-trigger = socket-memory-error-trigger
130
#mem-ce-error-threshold = 100 / 24h
131
#  Log socket error threshold explicitely?
132
#mem-ce-error-log = yes
133
 
33 - 134
bus-uc-threshold-trigger = bus-error-trigger
135
iomca-threshold-trigger = iomca-error-trigger
136
unknown-threshold-trigger = unknown-error-trigger
3 - 137
 
138
[cache]
139
# Processing of cache error thresholds reported by Intel CPUs
140
#cache-threshold-trigger = cache-error-trigger
141
# Should cache threshold events be logged explicitely?
142
#cache-threshold-log = yes
143
 
144
[page]
145
# Memory error accouting per 4K memory page
146
# Threshold for the correct memory errors trigger script
147
memory-ce-threshold = 10 / 24h
148
# Trigger script for corrected errors
149
# memory-ce-trigger = page-error-trigger
150
# Should page threshold events be logged explicitely?
151
memory-ce-log = yes
152
# specify the internal action in mcelog to exceeding a page error threshold
153
# this is done in addition to executing the trigger script if available
154
# off      no action
155
# account  only account errors
156
# soft     try to soft-offline page without killing any processes
157
#          This requires an uptodate kernel. Might not be successfull.
158
# hard     try to hard-offline page by killing processes
159
#          Requires an uptodate kernel. Might not be successfull.
160
# soft-then-hard   First try to soft offline, then try hard offlining
161
#memory-ce-action = off|account|soft|hard|soft-then-hard
162
memory-ce-action = soft
163
 
164
[trigger]
165
# Maximum number of running triggers
166
children-max = 2
167
# execute triggers in this directory
168
directory = /etc/mcelog