[icinga-checkins] icinga.org: icinga-doc/next: Docs #7513: add sort_status_data_by_default to config.cgi.

git at icinga.org git at icinga.org
Mon Nov 17 11:20:23 CET 2014


Module: icinga-doc
Branch: next
Commit: 2040facbbeeb35ac7fada12f739e8c220df649b5
URL:    https://git.icinga.org/?p=icinga-doc.git;a=commit;h=2040facbbeeb35ac7fada12f739e8c220df649b5

Author: Wolfgang Nieder <wnd at gmx.net>
Date:   Thu Nov 13 13:48:58 2014 +0100

Docs #7513: add sort_status_data_by_default to config.cgi.

Refs: #5965

Signed-off-by: Michael Friedrich <michael.friedrich at netways.de>

---

 de/configcgi.xml |   40 ++++++++++++++++++++++++++++++++++++++++
 en/configcgi.xml |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/de/configcgi.xml b/de/configcgi.xml
index c5711bb..d8e6fb6 100644
--- a/de/configcgi.xml
+++ b/de/configcgi.xml
@@ -2627,6 +2627,40 @@
     <para>Diese Option ist verfügbar ab &name-icinga; 1.11</para>
   </note>
 
+  <para><anchor xml:id="configcgi-sort_status_data_by_default"/><emphasis role="bold">Statusdaten per Default sortieren</emphasis></para>
+
+  <informaltable frame="none">
+    <tgroup cols="2">
+      <colspec colname="c1" colwidth="5*"/>
+
+      <colspec colname="c2" colwidth="50*"/>
+
+      <tbody>
+        <row>
+          <entry align="left" valign="top"><para>Format:</para></entry>
+
+          <entry><para><emphasis role="bold">sort_status_data_by_default=<0|1></emphasis></para></entry>
+        </row>
+
+        <row>
+          <entry align="left" valign="top"><para>Beispiel:</para></entry>
+
+          <entry><para><emphasis condition="red" role="color"><emphasis
+          role="bold">sort_status_data_by_default=<0></emphasis></emphasis></para></entry>
+        </row>
+      </tbody>
+    </tgroup>
+  </informaltable>
+
+  <para>Diese Option zwingt status.cgi, die Datei per Default zu sortieren. Dabei erfolgt die Sortierung aufsteigend, zuerst nach Hostnamen,
+  dann nach Service-Beschreibung. Dies ist hilfreich, wenn die Statusdaten in status.dat nicht sortiert sind. Das kann besonders beim
+  Einsatz von Icinga2 auftreten. Normalerweise ist diese Option ausgeschaltet (0), um mögliche höhere CPU-Belastungen bei großen Umgebungen
+  zu vermeiden.</para>
+
+  <note>
+    <para>Diese Option ist verfügbar ab &name-icinga; 1.12</para>
+  </note>
+
   <indexterm zone="configcgi">
     <primary>CGI-Konfiguration</primary>
 
@@ -3062,4 +3096,10 @@
 
     <secondary>Ansehen von benutzerdefinierten Variablenwerten unterdrücken</secondary>
   </indexterm>
+
+  <indexterm zone="configcgi-sort_status_data_by_default">
+    <primary>sort_status_data_by_default=</primary>
+
+    <secondary>Statusdaten per Default sortieren</secondary>
+  </indexterm>
 </section>
diff --git a/en/configcgi.xml b/en/configcgi.xml
index b63be3a..b53aa42 100644
--- a/en/configcgi.xml
+++ b/en/configcgi.xml
@@ -2452,6 +2452,39 @@
     <para>This option is available starting with &name-icinga; 1.11</para>
   </note>
 
+  <para><anchor xml:id="configcgi-sort_status_data_by_default"/><emphasis role="bold">Sort status data by default</emphasis></para>
+
+  <informaltable frame="none">
+    <tgroup cols="2">
+      <colspec colname="c1" colwidth="5*"/>
+
+      <colspec colname="c2" colwidth="50*"/>
+
+      <tbody>
+        <row>
+          <entry align="left" valign="top"><para>Format:</para></entry>
+
+          <entry><para><emphasis role="bold">sort_status_data_by_default=<0|1></emphasis></para></entry>
+        </row>
+
+        <row>
+          <entry align="left" valign="top"><para>Example:</para></entry>
+
+          <entry><para><emphasis condition="red" role="color"><emphasis
+          role="bold">sort_status_data_by_default=<0></emphasis></emphasis></para></entry>
+        </row>
+      </tbody>
+    </tgroup>
+  </informaltable>
+
+  <para>This option forces status.cgi to sort status data by default. Data will be sorted ascending. First by host name and then by service
+  description. This is helpful if status data in status.dat is not sorted properly. This can occur especially if you use Icinga2. By default
+  this options is switched off (0) to avoid possible higher cpu load in huge environments.</para>
+
+  <note>
+    <para>This option is available starting with &name-icinga; 1.12</para>
+  </note>
+
   <indexterm zone="config_cgi">
     <primary>CGI Configuration File Options</primary>
   </indexterm>
@@ -2891,4 +2924,10 @@
 
     <secondary>Exclude display of custom variable value</secondary>
   </indexterm>
+
+  <indexterm zone="configcgi-sort_status_data_by_default">
+    <primary>sort_status_data_by_default=</primary>
+
+    <secondary>Sort status data in status.cgi by default</secondary>
+  </indexterm>
 </section>



More information about the icinga-checkins mailing list