]> granicus.if.org Git - icinga2/commitdiff
Remove debug output in icinga2-enable-feature.
authorMichael Friedrich <michael.friedrich@netways.de>
Fri, 30 May 2014 07:55:23 +0000 (09:55 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Fri, 30 May 2014 07:55:23 +0000 (09:55 +0200)
Fixes #6360

doc/2-getting-started.md
doc/7-troubleshooting.md
tools/icinga2-enable-feature.cmake

index 609d039238c20283b137d77ce8035aaa67da155a..e0aa31bdec4c7ac525b133a48dca5bb61c581400 100644 (file)
@@ -59,8 +59,8 @@ Verify that by calling `icinga2-enable-feature` without any additional parameter
 and enable the missing features, if any.
 
     # icinga2-enable-feature
-    Syntax: /usr/sbin/icinga2-enable-feature <features separated with whitespaces>
-        Example: /usr/sbin/icinga2-enable-feature checker notification mainlog
+    Syntax: icinga2-enable-feature <features separated with whitespaces>
+      Example: icinga2-enable-feature checker notification mainlog
     Enables the specified feature(s).
 
     Available features: api checker command compatlog debuglog graphite icingastatus ido-mysql ido-pgsql livestatus mainlog notification perfdata statusdata syslog
@@ -777,6 +777,11 @@ to the default used in Icinga 2. Make sure to clear the cache afterwards.
 
     # icinga-web-clearcache
 
+> **Note**
+>
+> The path to the Icinga Web `clearcache` script may differ. Please check the
+> [Icinga Web documentation](https://docs.icinga.org) for details.
+
 Verify that your Icinga 1.x Web works by browsing to your Web installation URL:
 
   Distribution  | URL                                                         | Default Login
index 4cbd8f46441947e402286b392b4c4470822ec00f..9c3952c028d6b05c655cef4de4e1f8f279b09ede 100644 (file)
@@ -39,7 +39,6 @@ Additionally you can enable the debug log using
 * Make sure the [checker](#features) feature is enabled.
 
     # icinga2-enable-feature checker
-    Total params: 1
     The feature 'checker' is already enabled.
 
 
@@ -59,7 +58,6 @@ Verify the following configuration
 * Make sure the [notification](#features) feature is enabled.
 
     # icinga2-enable-feature notification
-    Total params: 1
     The feature 'notification' is already enabled.
 
 * Does the referenced NotificationCommand work when executed as Icinga user on the shell?
index 753ae3c6b192c37fa88ad1e2e8f4244e0ea5efc1..1c93e8ddeaec2ba1393a305c9a074b683001db66 100644 (file)
@@ -9,8 +9,8 @@ if [ "$TOOL" != "icinga2-enable-feature" -a "$TOOL" != "icinga2-disable-feature"
 fi
 
 if [ -z "$1" ]; then
-       echo "Syntax: $0 <features separated with whitespaces>"
-       echo "    Example: $0 checker notification mainlog"
+       echo "Syntax: $TOOL <features separated with whitespaces>"
+       echo "  Example: $TOOL checker notification mainlog"
 
        if [ "$TOOL" = "icinga2-enable-feature" ]; then
                echo "Enables the specified feature(s)."
@@ -39,9 +39,6 @@ fi
 
 FEATURES=$1
 
-# Get total params
-echo "Total params: $#"
-
 for FEATURES
 do
        SKIP=""