diff --git a/doc/2-getting-started.md b/doc/2-getting-started.md index 609d03923..e0aa31bde 100644 --- a/doc/2-getting-started.md +++ b/doc/2-getting-started.md @@ -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 - Example: /usr/sbin/icinga2-enable-feature checker notification mainlog + Syntax: icinga2-enable-feature + 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 diff --git a/doc/7-troubleshooting.md b/doc/7-troubleshooting.md index 4cbd8f464..9c3952c02 100644 --- a/doc/7-troubleshooting.md +++ b/doc/7-troubleshooting.md @@ -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? diff --git a/tools/icinga2-enable-feature.cmake b/tools/icinga2-enable-feature.cmake index 753ae3c6b..1c93e8dde 100644 --- a/tools/icinga2-enable-feature.cmake +++ b/tools/icinga2-enable-feature.cmake @@ -9,8 +9,8 @@ if [ "$TOOL" != "icinga2-enable-feature" -a "$TOOL" != "icinga2-disable-feature" fi if [ -z "$1" ]; then - echo "Syntax: $0 " - echo " Example: $0 checker notification mainlog" + echo "Syntax: $TOOL " + 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=""