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
# 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
* Make sure the [checker](#features) feature is enabled.
# icinga2-enable-feature checker
- Total params: 1
The feature 'checker' is already enabled.
* 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?
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)."
FEATURES=$1
-# Get total params
-echo "Total params: $#"
-
for FEATURES
do
SKIP=""