openstack-manuals/doc/common/tables/swift-drive-audit-drive-audit.xml
Christian Berendt 2cc66311cb Update Swift configuration tables
Change-Id: Ib57f5db125421e317c7d0cf0c14ec744b4066a46
2015-03-02 13:06:05 +01:00

70 lines
2.7 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 <filename>drive-audit.conf</filename>
</caption>
<col width="50%"/>
<col width="50%"/>
<thead>
<tr>
<th>Configuration option = Default value</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><option>device_dir</option> = <replaceable>/srv/node</replaceable></td>
<td>Directory devices are mounted under</td>
</tr>
<tr>
<td><option>error_limit</option> = <replaceable>1</replaceable></td>
<td>Number of errors to find before a device is unmounted</td>
</tr>
<tr>
<td><option>log_address</option> = <replaceable>/dev/log</replaceable></td>
<td>Location where syslog sends the logs to</td>
</tr>
<tr>
<td><option>log_facility</option> = <replaceable>LOG_LOCAL0</replaceable></td>
<td>Syslog log facility</td>
</tr>
<tr>
<td><option>log_file_pattern</option> = <replaceable>/var/log/kern.*[!.][!g][!z]</replaceable></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><option>log_level</option> = <replaceable>INFO</replaceable></td>
<td>Logging level</td>
</tr>
<tr>
<td><option>log_max_line_length</option> = <replaceable>0</replaceable></td>
<td>Caps the length of log lines to the value given; no limit if set to 0, the default.</td>
</tr>
<tr>
<td><option>log_to_console</option> = <replaceable>False</replaceable></td>
<td>No help text available for this option.</td>
</tr>
<tr>
<td><option>minutes</option> = <replaceable>60</replaceable></td>
<td>Number of minutes to look back in `/var/log/kern.log`</td>
</tr>
<tr>
<td><option>recon_cache_path</option> = <replaceable>/var/cache/swift</replaceable></td>
<td>Directory where stats for a few items will be stored</td>
</tr>
<tr>
<td><option>regex_pattern_1</option> = <replaceable>\berror\b.*\b(dm-[0-9]{1,2}\d?)\b</replaceable></td>
<td>No help text available for this option.</td>
</tr>
<tr>
<td><option>unmount_failed_device</option> = <replaceable>True</replaceable></td>
<td>No help text available for this option.</td>
</tr>
</tbody>
</table>
</para>