[icinga-checkins] icinga.org: icinga-doc/master: docs issue #1183: cgiparams / filter properties

git at icinga.org git at icinga.org
Wed Apr 27 00:24:01 CEST 2011


Module: icinga-doc
Branch: master
Commit: 3cfe4a3d2006345e5b670c0df38db4c0952f22b2
URL:    https://git.icinga.org/?p=icinga-doc.git;a=commit;h=3cfe4a3d2006345e5b670c0df38db4c0952f22b2

Author: Wolfgang <wnd at gmx.net>
Date:   Wed Apr 27 00:22:15 2011 +0200

docs issue #1183: cgiparams / filter properties

---

 de/cgiparams.xml |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 en/cgiparams.xml |   56 ++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 110 insertions(+), 6 deletions(-)

diff --git a/de/cgiparams.xml b/de/cgiparams.xml
index 03629ff..c3cedb8 100644
--- a/de/cgiparams.xml
+++ b/de/cgiparams.xml
@@ -3633,7 +3633,7 @@
 
           <entry>host=monitor</entry>
 
-          <entry>Spezielle Zeichen im Namen müssen kodiert werden ("urlencoded", z.B. "%20" statt einen Leerzeichens)</entry>
+          <entry>Spezielle Zeichen im Namen müssen kodiert werden ("urlencoded", z.B. "%20" statt eines Leerzeichens)</entry>
         </row>
 
         <row>
@@ -3645,7 +3645,7 @@
 
           <entry>hostgroup=linux-boxes</entry>
 
-          <entry>Spezielle Zeichen im Namen müssen kodiert werden ("urlencoded", z.B. "%20" statt einen Leerzeichens)</entry>
+          <entry>Spezielle Zeichen im Namen müssen kodiert werden ("urlencoded", z.B. "%20" statt eines Leerzeichens)</entry>
         </row>
 
         <row>
@@ -3658,7 +3658,7 @@
 
           <entry>hostprops=131088 (aktive Prüfungen, die deaktiviert sind)</entry>
 
-          <entry>Ein logisches ODER der Bedingungen, die in include/cgiutils.c angegeben sind (HOST AND SERVICE FILTER PROPERTIES)</entry>
+          <entry>Ein logisches ODER der Bedingungen, die in include/cgiutils.c angegeben sind <link linkend="cgiparams-filter">[1]</link> (HOST AND SERVICE FILTER PROPERTIES)</entry>
         </row>
 
         <row>
@@ -4079,7 +4079,7 @@
 
           <entry>serviceprops=131088 (aktive Prüfungen, die deaktiviert sind)</entry>
 
-          <entry>Ein logisches ODER der Bedingungen, die in include/cgiutils.c angegeben sind (HOST AND SERVICE FILTER PROPERTIES)</entry>
+          <entry>Ein logisches ODER der Bedingungen, die in include/cgiutils.c angegeben sind <link linkend="cgiparams-filter">[1]</link> (HOST AND SERVICE FILTER PROPERTIES)</entry>
         </row>
 
         <row>
@@ -4528,9 +4528,61 @@
     </tgroup>
   </informaltable>
 
+  <para><anchor xml:id="cgiparams-filter" /><emphasis role="bold">Ausschnitt aus include/cgiutils.h</emphasis></para>
+  <programlisting>/****************** HOST AND SERVICE FILTER PROPERTIES  *******************/
+
+#define HOST_SCHEDULED_DOWNTIME         1
+#define HOST_NO_SCHEDULED_DOWNTIME      2
+#define HOST_STATE_ACKNOWLEDGED         4
+#define HOST_STATE_UNACKNOWLEDGED       8
+#define HOST_CHECKS_DISABLED            16
+#define HOST_CHECKS_ENABLED             32
+#define HOST_EVENT_HANDLER_DISABLED     64
+#define HOST_EVENT_HANDLER_ENABLED      128
+#define HOST_FLAP_DETECTION_DISABLED    256
+#define HOST_FLAP_DETECTION_ENABLED     512
+#define HOST_IS_FLAPPING                1024
+#define HOST_IS_NOT_FLAPPING            2048
+#define HOST_NOTIFICATIONS_DISABLED     4096
+#define HOST_NOTIFICATIONS_ENABLED      8192
+#define HOST_PASSIVE_CHECKS_DISABLED    16384
+#define HOST_PASSIVE_CHECKS_ENABLED     32768
+#define HOST_PASSIVE_CHECK              65536
+#define HOST_ACTIVE_CHECK               131072
+#define HOST_HARD_STATE                 262144
+#define HOST_SOFT_STATE                 524288
+
+#define SERVICE_SCHEDULED_DOWNTIME      1
+#define SERVICE_NO_SCHEDULED_DOWNTIME   2
+#define SERVICE_STATE_ACKNOWLEDGED      4
+#define SERVICE_STATE_UNACKNOWLEDGED    8
+#define SERVICE_CHECKS_DISABLED         16
+#define SERVICE_CHECKS_ENABLED          32
+#define SERVICE_EVENT_HANDLER_DISABLED  64
+#define SERVICE_EVENT_HANDLER_ENABLED   128
+#define SERVICE_FLAP_DETECTION_ENABLED  256
+#define SERVICE_FLAP_DETECTION_DISABLED 512
+#define SERVICE_IS_FLAPPING             1024
+#define SERVICE_IS_NOT_FLAPPING         2048
+#define SERVICE_NOTIFICATIONS_DISABLED  4096
+#define SERVICE_NOTIFICATIONS_ENABLED   8192
+#define SERVICE_PASSIVE_CHECKS_DISABLED 16384
+#define SERVICE_PASSIVE_CHECKS_ENABLED  32768
+#define SERVICE_PASSIVE_CHECK           65536
+#define SERVICE_ACTIVE_CHECK            131072
+#define SERVICE_HARD_STATE              262144
+#define SERVICE_SOFT_STATE              524288</programlisting>
+  <para>[1] Logisches ODER bedeutet, dass die jeweiligen Zahlen addiert werden. Es werden dann die Objekte angezeigt, die ALLE Bedingungen erfüllen.</para>
+
   <indexterm zone="cgiparams">
     <primary>CGIs</primary>
 
     <secondary>Parameter</secondary>
   </indexterm>
+
+  <indexterm zone="cgiparams-filter">
+    <primary>CGIs</primary>
+
+    <secondary>Filtereigenschaften (Filter Properties)</secondary>
+  </indexterm>
 </section>
diff --git a/en/cgiparams.xml b/en/cgiparams.xml
index e3ecfa9..08650f7 100644
--- a/en/cgiparams.xml
+++ b/en/cgiparams.xml
@@ -3656,7 +3656,7 @@
 
           <entry>hostprops=131088 (active checks being disabled)</entry>
 
-          <entry>A boolean OR of the states specified in include/cgiutils.c (HOST AND SERVICE FILTER PROPERTIES)</entry>
+          <entry>A boolean OR of the states specified in include/cgiutils.c <link linkend="cgiparams-filter">[1]</link> (HOST AND SERVICE FILTER PROPERTIES)</entry>
         </row>
 
         <row>
@@ -4076,7 +4076,7 @@
 
           <entry>serviceprops=131088 (active checks being disabled)</entry>
 
-          <entry>A boolean OR of the states specified in include/cgiutils.c (HOST AND SERVICE FILTER PROPERTIES)</entry>
+          <entry>A boolean OR of the states specified in include/cgiutils.c <link linkend="cgiparams-filter">[1]</link> (HOST AND SERVICE FILTER PROPERTIES)</entry>
         </row>
 
         <row>
@@ -4525,9 +4525,61 @@
     </tgroup>
   </informaltable>
 
+  <para><anchor xml:id="cgiparams-filter" /><emphasis role="bold">Excerpt from include/cgiutils.h</emphasis></para>
+  <programlisting>/****************** HOST AND SERVICE FILTER PROPERTIES  *******************/
+
+#define HOST_SCHEDULED_DOWNTIME         1
+#define HOST_NO_SCHEDULED_DOWNTIME      2
+#define HOST_STATE_ACKNOWLEDGED         4
+#define HOST_STATE_UNACKNOWLEDGED       8
+#define HOST_CHECKS_DISABLED            16
+#define HOST_CHECKS_ENABLED             32
+#define HOST_EVENT_HANDLER_DISABLED     64
+#define HOST_EVENT_HANDLER_ENABLED      128
+#define HOST_FLAP_DETECTION_DISABLED    256
+#define HOST_FLAP_DETECTION_ENABLED     512
+#define HOST_IS_FLAPPING                1024
+#define HOST_IS_NOT_FLAPPING            2048
+#define HOST_NOTIFICATIONS_DISABLED     4096
+#define HOST_NOTIFICATIONS_ENABLED      8192
+#define HOST_PASSIVE_CHECKS_DISABLED    16384
+#define HOST_PASSIVE_CHECKS_ENABLED     32768
+#define HOST_PASSIVE_CHECK              65536
+#define HOST_ACTIVE_CHECK               131072
+#define HOST_HARD_STATE                 262144
+#define HOST_SOFT_STATE                 524288
+
+#define SERVICE_SCHEDULED_DOWNTIME      1
+#define SERVICE_NO_SCHEDULED_DOWNTIME   2
+#define SERVICE_STATE_ACKNOWLEDGED      4
+#define SERVICE_STATE_UNACKNOWLEDGED    8
+#define SERVICE_CHECKS_DISABLED         16
+#define SERVICE_CHECKS_ENABLED          32
+#define SERVICE_EVENT_HANDLER_DISABLED  64
+#define SERVICE_EVENT_HANDLER_ENABLED   128
+#define SERVICE_FLAP_DETECTION_ENABLED  256
+#define SERVICE_FLAP_DETECTION_DISABLED 512
+#define SERVICE_IS_FLAPPING             1024
+#define SERVICE_IS_NOT_FLAPPING         2048
+#define SERVICE_NOTIFICATIONS_DISABLED  4096
+#define SERVICE_NOTIFICATIONS_ENABLED   8192
+#define SERVICE_PASSIVE_CHECKS_DISABLED 16384
+#define SERVICE_PASSIVE_CHECKS_ENABLED  32768
+#define SERVICE_PASSIVE_CHECK           65536
+#define SERVICE_ACTIVE_CHECK            131072
+#define SERVICE_HARD_STATE              262144
+#define SERVICE_SOFT_STATE              524288</programlisting>
+
+  <para>[1] Logical OR means that the numbers are added and only the objects will be displayed satisfying ALL conditions.</para>
   <indexterm zone="cgiparams">
     <primary>CGIs</primary>
 
     <secondary>Parameters</secondary>
   </indexterm>
+
+  <indexterm zone="cgiparams-filter">
+    <primary>CGIs</primary>
+
+    <secondary>Filter properties</secondary>
+  </indexterm>
 </section>





More information about the icinga-checkins mailing list