Remove debug output in icinga2-enable-feature.

Fixes #6360
This commit is contained in:
Michael Friedrich 2014-05-30 09:55:23 +02:00
parent 36c71d69bd
commit 7e46926c72
3 changed files with 9 additions and 9 deletions

View 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

View 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?

View 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=""