require => [ Class['apache'], Group['icingacmd'] ]
}
- icinga2::feature { 'statusdat': }
+ icinga2::feature { 'statusdata': }
icinga2::feature { 'command': }
- icinga2::feature { 'compat-log': }
+ icinga2::feature { 'compatlog': }
}
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:
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**
library "compat"
object CompatLogger "my-log" {
- log\_dir = "/var/log/icinga2/compat/compat-log",
+ log\_dir = "/var/log/icinga2/compat",
rotation\_method = "HOURLY"
}
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); \
library "compat"
-object CompatLogger "compat-log" { }
+object CompatLogger "compatlog" { }
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"