doc: improve "repmgr cluster cleanup" documentation

This commit is contained in:
Ian Barwick
2018-08-14 10:09:18 +09:00
parent 34c4f4c3f8
commit 6983547325
3 changed files with 19 additions and 5 deletions

View File

@@ -15,9 +15,14 @@
<title>Description</title>
<para>
Purges monitoring history from the <literal>repmgr.monitoring_history</literal> table to
prevent excessive table growth. Use the <literal>-k/--keep-history</literal> to specify the
number of days of monitoring history to retain. This command can be used
manually or as a cronjob.
prevent excessive table growth.
</para>
<para>
By default <emphasis>all</emphasis> data will be removed; Use the <option>-k/--keep-history</option>
option to specify the number of days of monitoring history to retain.
</para>
<para>
This command can be executed manually or as a cronjob.
</para>
</refsect1>
@@ -38,4 +43,13 @@
<filename>repmgr.conf</filename>.
</para>
</refsect1>
<refsect1>
<title>See also</title>
<para>
For more details see the sections <xref linkend="repmgrd-monitoring"> and
<xref linkend="repmgrd-monitoring-configuration">.
</para>
</refsect1>
</refentry>

View File

@@ -144,7 +144,7 @@
</para>
</sect2>
<sect2 id="repmgrd-monitoring-configuration">
<sect2 id="repmgrd-monitoring-configuration" xreflabel="repmgrd monitoring configuration">
<indexterm>
<primary>repmgrd</primary>
<secondary>monitoring configuration</secondary>

View File

@@ -1,4 +1,4 @@
<chapter id="repmgrd-monitoring">
<chapter id="repmgrd-monitoring" xreflabel="Monitoring with repmgrd">
<indexterm>
<primary>repmgrd</primary>
<secondary>monitoring</secondary>