2010-07-12 22:03:45 +00:00
|
|
|
[drive-audit]
|
|
|
|
# device_dir = /srv/node
|
|
|
|
# log_facility = LOG_LOCAL0
|
|
|
|
# log_level = INFO
|
2012-05-17 22:46:38 +00:00
|
|
|
# log_address = /dev/log
|
2010-07-12 22:03:45 +00:00
|
|
|
# minutes = 60
|
|
|
|
# error_limit = 1
|
2013-06-28 19:51:15 +00:00
|
|
|
#
|
|
|
|
# Location of the log file with globbing
|
|
|
|
# pattern to check against device errors.
|
|
|
|
# log_file_pattern = /var/log/kern*
|
|
|
|
#
|
|
|
|
# Regular expression patterns to be used to locate
|
|
|
|
# device blocks with errors in the log file. Currently
|
|
|
|
# the default ones are as follows:
|
|
|
|
# \berror\b.*\b(sd[a-z]{1,2}\d?)\b
|
|
|
|
# \b(sd[a-z]{1,2}\d?)\b.*\berror\b
|
|
|
|
# One can overwrite the default ones by providing
|
|
|
|
# new expressions using the format below:
|
|
|
|
# Format: regex_pattern_X = regex_expression
|
|
|
|
# Example:
|
|
|
|
# regex_pattern_1 = \berror\b.*\b(dm-[0-9]{1,2}\d?)\b
|