mirror of https://github.com/Icinga/icinga2.git
parent
36c71d69bd
commit
7e46926c72
|
@ -59,8 +59,8 @@ Verify that by calling `icinga2-enable-feature` without any additional parameter
|
||||||
and enable the missing features, if any.
|
and enable the missing features, if any.
|
||||||
|
|
||||||
# icinga2-enable-feature
|
# icinga2-enable-feature
|
||||||
Syntax: /usr/sbin/icinga2-enable-feature <features separated with whitespaces>
|
Syntax: icinga2-enable-feature <features separated with whitespaces>
|
||||||
Example: /usr/sbin/icinga2-enable-feature checker notification mainlog
|
Example: icinga2-enable-feature checker notification mainlog
|
||||||
Enables the specified feature(s).
|
Enables the specified feature(s).
|
||||||
|
|
||||||
Available features: api checker command compatlog debuglog graphite icingastatus ido-mysql ido-pgsql livestatus mainlog notification perfdata statusdata syslog
|
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
|
# 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:
|
Verify that your Icinga 1.x Web works by browsing to your Web installation URL:
|
||||||
|
|
||||||
Distribution | URL | Default Login
|
Distribution | URL | Default Login
|
||||||
|
|
|
@ -39,7 +39,6 @@ Additionally you can enable the debug log using
|
||||||
* Make sure the [checker](#features) feature is enabled.
|
* Make sure the [checker](#features) feature is enabled.
|
||||||
|
|
||||||
# icinga2-enable-feature checker
|
# icinga2-enable-feature checker
|
||||||
Total params: 1
|
|
||||||
The feature 'checker' is already enabled.
|
The feature 'checker' is already enabled.
|
||||||
|
|
||||||
|
|
||||||
|
@ -59,7 +58,6 @@ Verify the following configuration
|
||||||
* Make sure the [notification](#features) feature is enabled.
|
* Make sure the [notification](#features) feature is enabled.
|
||||||
|
|
||||||
# icinga2-enable-feature notification
|
# icinga2-enable-feature notification
|
||||||
Total params: 1
|
|
||||||
The feature 'notification' is already enabled.
|
The feature 'notification' is already enabled.
|
||||||
|
|
||||||
* Does the referenced NotificationCommand work when executed as Icinga user on the shell?
|
* Does the referenced NotificationCommand work when executed as Icinga user on the shell?
|
||||||
|
|
|
@ -9,8 +9,8 @@ if [ "$TOOL" != "icinga2-enable-feature" -a "$TOOL" != "icinga2-disable-feature"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
echo "Syntax: $0 <features separated with whitespaces>"
|
echo "Syntax: $TOOL <features separated with whitespaces>"
|
||||||
echo " Example: $0 checker notification mainlog"
|
echo " Example: $TOOL checker notification mainlog"
|
||||||
|
|
||||||
if [ "$TOOL" = "icinga2-enable-feature" ]; then
|
if [ "$TOOL" = "icinga2-enable-feature" ]; then
|
||||||
echo "Enables the specified feature(s)."
|
echo "Enables the specified feature(s)."
|
||||||
|
@ -39,9 +39,6 @@ fi
|
||||||
|
|
||||||
FEATURES=$1
|
FEATURES=$1
|
||||||
|
|
||||||
# Get total params
|
|
||||||
echo "Total params: $#"
|
|
||||||
|
|
||||||
for FEATURES
|
for FEATURES
|
||||||
do
|
do
|
||||||
SKIP=""
|
SKIP=""
|
||||||
|
|
Loading…
Reference in New Issue