[icinga-checkins] icinga.org: icinga-doc/master: docs issue #1694: replace hash character in object definitions

git at icinga.org git at icinga.org
Fri Jul 1 19:43:10 CEST 2011


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

Author: Wolfgang <wnd at gmx.net>
Date:   Fri Jul  1 19:40:33 2011 +0200

docs issue #1694: replace hash character in object definitions

---

 de/nsca.xml |   24 ++++++++++++------------
 en/nsca.xml |   22 +++++++++++-----------
 2 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/de/nsca.xml b/de/nsca.xml
index df78794..bc78773 100644
--- a/de/nsca.xml
+++ b/de/nsca.xml
@@ -321,20 +321,20 @@
   "service" durch "host")</para>
 
   <para><programlisting> define service{
-    use                     generic-service   # template to inherit from
-    name                    passive-service   # name of this template
-    active_checks_enabled   0                 # no active checks
-    passive_checks_enabled  1                 # allow passive checks
-    check_command           check_dummy!0     # use "check_dummy", RC=0 (OK)
-    check_period            24x7              # check active all the time
-    check_freshness         0                 # don't check if check result is "stale"
-    register                0                 # this is a template, not a real service
-    }</programlisting>Zusammen mit dem obigen template könnte die Service-Definition wie folgt aussehen:</para>
+    use                     generic-service   ; template to inherit from
+    name                    passive-service   ; name of this template
+    active_checks_enabled   0                 ; no active checks
+    passive_checks_enabled  1                 ; allow passive checks
+    check_command           check_dummy!0     ; use "check_dummy", RC=0 (OK)
+    check_period            24x7              ; check active all the time
+    check_freshness         0                 ; don't check if check result is "stale"
+    register                0                 ; this is a template, not a real service
+    }</programlisting>Zusammen mit dem obigen Template könnte die Service-Definition wie folgt aussehen:</para>
 
   <para><programlisting> define service{
-    use                     passive-service   # template to inherit from
-    host_name               remotehost        # host where send_nsca is located
-    service_description     Diskspace         # service to be checked
+    use                     passive-service   ; template to inherit from
+    host_name               remotehost        ; host where send_nsca is located
+    service_description     Diskspace         ; service to be checked
     }</programlisting>Starten Sie &name-icinga; erneut, damit die Änderungen in der laufenden Konfiguration enthalten sind</para>
 
   <para><programlisting> #> /etc/init.d/icinga restart</programlisting>Wechseln Sie auf Ihrem entfernten Host zum &name-icinga;-Benutzer
diff --git a/en/nsca.xml b/en/nsca.xml
index 9699e3c..8315652 100644
--- a/en/nsca.xml
+++ b/en/nsca.xml
@@ -304,20 +304,20 @@
   "host")</para>
 
   <para><programlisting> define service{
-    use                     generic-service   # template to inherit from
-    name                    passive-service   # name of this template
-    active_checks_enabled   0                 # no active checks
-    passive_checks_enabled  1                 # allow passive checks
-    check_command           check_dummy!0     # use "check_dummy", RC=0 (OK)
-    check_period            24x7              # check active all the time
-    check_freshness         0                 # don't check if check result is "stale"
-    register                0                 # this is a template, not a real service
+    use                     generic-service   ; template to inherit from
+    name                    passive-service   ; name of this template
+    active_checks_enabled   0                 ; no active checks
+    passive_checks_enabled  1                 ; allow passive checks
+    check_command           check_dummy!0     ; use "check_dummy", RC=0 (OK)
+    check_period            24x7              ; check active all the time
+    check_freshness         0                 ; don't check if check result is "stale"
+    register                0                 ; this is a template, not a real service
     }</programlisting>Using the template above the service definition might look like</para>
 
   <para><programlisting> define service{
-    use                     passive-service   # template to inherit from
-    host_name               remotehost        # host where send_nsca is located
-    service_description     Diskspace         # service to be checked
+    use                     passive-service   ; template to inherit from
+    host_name               remotehost        ; host where send_nsca is located
+    service_description     Diskspace         ; service to be checked
     }</programlisting>Restart &name-icinga; to include the definitions in your running configuration</para>
 
   <para><programlisting> #> /etc/init.d/icinga restart</programlisting>Change to your remote host, switch to the Icinga user and execute





More information about the icinga-checkins mailing list