5521ce66e7
This patch adds configuration for swift's drive-audit script with a cron job to run it hourly at 15 minutes past the hour. Closes-Bug: 1433619 Change-Id: I1a5cfbfffef007a0d8e9b56dd5936aad7c38916d
12 lines
274 B
Django/Jinja
12 lines
274 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
[drive-audit]
|
|
device_dir = /srv/node
|
|
log_facility = LOG_LOCAL0
|
|
log_level = INFO
|
|
minutes = 60
|
|
error_limit = 2
|
|
log_file_pattern = /var/log/kern*
|
|
regex_pattern_1 = \berror\b.*\b(sd[a-z]+([0-9]+)?)\b
|
|
regex_pattern_2 = \b(sd[a-z]+([0-9]+)?)\b.*\berror\b
|