openstack-manuals/doc/common/tables/swift-drive-audit-drive-aud...

58 lines
1.8 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<para xmlns="http://docbook.org/ns/docbook" version="5.0">
<!-- The tool that generated this table lives in the
openstack-doc-tools repository. The editions made in
this file will *not* be lost if you run the script again. -->
<table rules="all">
<caption>Description of configuration options for
<literal>[drive-audit]</literal> in <literal>drive-audit.conf</literal>
</caption>
<col width="50%"/>
<col width="50%"/>
<thead>
<tr>
<th>Configuration option = Default value</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>device_dir = /srv/node</td>
<td>Directory devices are mounted under</td>
</tr>
<tr>
<td>error_limit = 1</td>
<td>Number of errors to find before a device is unmounted</td>
</tr>
<tr>
<td>log_address = /dev/log</td>
<td>Location where syslog sends the logs to</td>
</tr>
<tr>
<td>log_facility = LOG_LOCAL0</td>
<td>Syslog log facility</td>
</tr>
<tr>
<td>log_file_pattern = /var/log/kern.*[!.][!g][!z]</td>
<td>Location of the log file with globbing pattern to check against device errors locate device blocks with errors in the log file</td>
</tr>
<tr>
<td>log_level = INFO</td>
<td>Logging level</td>
</tr>
<tr>
<td>log_max_line_length = 0</td>
<td>Caps the length of log lines to the value given; no limit if set to 0, the default.</td>
</tr>
<tr>
<td>minutes = 60</td>
<td>Number of minutes to look back in `/var/log/kern.log`</td>
</tr>
<tr>
<td>regex_pattern_1 = \berror\b.*\b(dm-[0-9]{1,2}\d?)\b</td>
<td>No help text available for this option.</td>
</tr>
</tbody>
</table>
</para>