openstack-ansible-os_swift/templates/drive-audit.conf.j2
Pedro Perez 3e90d83252 Fix hardcorded drive-audit path
Change-Id: I447e48ec704c4a3a0bfe1dc1cee46f0b0daf539e
2016-11-15 19:23:21 +01:00

12 lines
322 B
Django/Jinja

# {{ ansible_managed }}
[drive-audit]
device_dir = {{ swift_vars.mount_point | default(swift.mount_point) }}
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