Rename features: statusdat -> statusdata, compat-log -> compatlog .

This commit is contained in:
Michael Friedrich 2013-10-17 13:57:53 +02:00
parent 05a81b84e1
commit b4ae8239f2
8 changed files with 15 additions and 14 deletions

View File

@ -32,9 +32,9 @@ class icinga-classicui {
require => [ Class['apache'], Group['icingacmd'] ]
}
icinga2::feature { 'statusdat': }
icinga2::feature { 'statusdata': }
icinga2::feature { 'command': }
icinga2::feature { 'compat-log': }
icinga2::feature { 'compatlog': }
}

View File

@ -33,7 +33,8 @@ by the Classic UI. The command pipe is also not enabled by default.
You can use i2enfeature to enable these features:
# i2enfeature statusdat
# i2enfeature statusdata
# i2enfeature compatlog
# i2enfeature command
After enabling these features you will need to restart Icinga 2:

View File

@ -85,18 +85,18 @@ You can view a list of available feature configuration files:
Syntax: i2enfeature <feature>
Enables the specified feature.
Available features: statusdat
Available features: statusdata
Using the `i2enfeature` command you can enable features:
# i2enfeature statusdat
Module 'statusdat' was enabled.
# i2enfeature statusdata
Module 'statusdata' was enabled.
Make sure to restart Icinga 2 for these changes to take effect.
You can disable features using the `i2disfeature` command:
# i2disfeature statusdat
Module 'statusdat' was disabled.
# i2disfeature statusdata
Module 'statusdata' was disabled.
Make sure to restart Icinga 2 for these changes to take effect.
> **Note**

View File

@ -575,7 +575,7 @@ Example:
library "compat"
object CompatLogger "my-log" {
log\_dir = "/var/log/icinga2/compat/compat-log",
log\_dir = "/var/log/icinga2/compat",
rotation\_method = "HOURLY"
}

View File

@ -5,14 +5,14 @@ icinga2confdir = $(DESTDIR)${sysconfdir}/icinga2/features-available
CONFIG_FILES = \
checker.conf \
command.conf \
compat-log.conf \
compatlog.conf \
graphite.conf \
ido-mysql.conf \
livestatus.conf \
notification.conf \
perfdata.conf \
syslog.conf \
statusdat.conf
statusdata.conf
install-data-local:
@$(MKDIR_P) $(icinga2confdir); \

View File

@ -5,5 +5,5 @@
library "compat"
object CompatLogger "compat-log" { }
object CompatLogger "compatlog" { }

View File

@ -5,8 +5,8 @@ include "../../etc/icinga2/features-available/checker.conf"
include "../../etc/icinga2/features-available/notification.conf"
//classic ui
include "../../etc/icinga2/features-available/statusdat.conf"
include "../../etc/icinga2/features-available/compat-log.conf"
include "../../etc/icinga2/features-available/statusdata.conf"
include "../../etc/icinga2/features-available/compatlog.conf"
include "../../etc/icinga2/features-available/command.conf"
include "conf/resource.conf"