mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 16:14:09 +02:00
Rename features: statusdat -> statusdata, compat-log -> compatlog .
This commit is contained in:
parent
05a81b84e1
commit
b4ae8239f2
@ -32,9 +32,9 @@ class icinga-classicui {
|
|||||||
require => [ Class['apache'], Group['icingacmd'] ]
|
require => [ Class['apache'], Group['icingacmd'] ]
|
||||||
}
|
}
|
||||||
|
|
||||||
icinga2::feature { 'statusdat': }
|
icinga2::feature { 'statusdata': }
|
||||||
|
|
||||||
icinga2::feature { 'command': }
|
icinga2::feature { 'command': }
|
||||||
|
|
||||||
icinga2::feature { 'compat-log': }
|
icinga2::feature { 'compatlog': }
|
||||||
}
|
}
|
||||||
|
@ -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:
|
You can use i2enfeature to enable these features:
|
||||||
|
|
||||||
# i2enfeature statusdat
|
# i2enfeature statusdata
|
||||||
|
# i2enfeature compatlog
|
||||||
# i2enfeature command
|
# i2enfeature command
|
||||||
|
|
||||||
After enabling these features you will need to restart Icinga 2:
|
After enabling these features you will need to restart Icinga 2:
|
||||||
|
@ -85,18 +85,18 @@ You can view a list of available feature configuration files:
|
|||||||
Syntax: i2enfeature <feature>
|
Syntax: i2enfeature <feature>
|
||||||
Enables the specified feature.
|
Enables the specified feature.
|
||||||
|
|
||||||
Available features: statusdat
|
Available features: statusdata
|
||||||
|
|
||||||
Using the `i2enfeature` command you can enable features:
|
Using the `i2enfeature` command you can enable features:
|
||||||
|
|
||||||
# i2enfeature statusdat
|
# i2enfeature statusdata
|
||||||
Module 'statusdat' was enabled.
|
Module 'statusdata' was enabled.
|
||||||
Make sure to restart Icinga 2 for these changes to take effect.
|
Make sure to restart Icinga 2 for these changes to take effect.
|
||||||
|
|
||||||
You can disable features using the `i2disfeature` command:
|
You can disable features using the `i2disfeature` command:
|
||||||
|
|
||||||
# i2disfeature statusdat
|
# i2disfeature statusdata
|
||||||
Module 'statusdat' was disabled.
|
Module 'statusdata' was disabled.
|
||||||
Make sure to restart Icinga 2 for these changes to take effect.
|
Make sure to restart Icinga 2 for these changes to take effect.
|
||||||
|
|
||||||
> **Note**
|
> **Note**
|
||||||
|
@ -575,7 +575,7 @@ Example:
|
|||||||
library "compat"
|
library "compat"
|
||||||
|
|
||||||
object CompatLogger "my-log" {
|
object CompatLogger "my-log" {
|
||||||
log\_dir = "/var/log/icinga2/compat/compat-log",
|
log\_dir = "/var/log/icinga2/compat",
|
||||||
rotation\_method = "HOURLY"
|
rotation\_method = "HOURLY"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,14 +5,14 @@ icinga2confdir = $(DESTDIR)${sysconfdir}/icinga2/features-available
|
|||||||
CONFIG_FILES = \
|
CONFIG_FILES = \
|
||||||
checker.conf \
|
checker.conf \
|
||||||
command.conf \
|
command.conf \
|
||||||
compat-log.conf \
|
compatlog.conf \
|
||||||
graphite.conf \
|
graphite.conf \
|
||||||
ido-mysql.conf \
|
ido-mysql.conf \
|
||||||
livestatus.conf \
|
livestatus.conf \
|
||||||
notification.conf \
|
notification.conf \
|
||||||
perfdata.conf \
|
perfdata.conf \
|
||||||
syslog.conf \
|
syslog.conf \
|
||||||
statusdat.conf
|
statusdata.conf
|
||||||
|
|
||||||
install-data-local:
|
install-data-local:
|
||||||
@$(MKDIR_P) $(icinga2confdir); \
|
@$(MKDIR_P) $(icinga2confdir); \
|
||||||
|
@ -5,5 +5,5 @@
|
|||||||
|
|
||||||
library "compat"
|
library "compat"
|
||||||
|
|
||||||
object CompatLogger "compat-log" { }
|
object CompatLogger "compatlog" { }
|
||||||
|
|
@ -5,8 +5,8 @@ include "../../etc/icinga2/features-available/checker.conf"
|
|||||||
include "../../etc/icinga2/features-available/notification.conf"
|
include "../../etc/icinga2/features-available/notification.conf"
|
||||||
|
|
||||||
//classic ui
|
//classic ui
|
||||||
include "../../etc/icinga2/features-available/statusdat.conf"
|
include "../../etc/icinga2/features-available/statusdata.conf"
|
||||||
include "../../etc/icinga2/features-available/compat-log.conf"
|
include "../../etc/icinga2/features-available/compatlog.conf"
|
||||||
include "../../etc/icinga2/features-available/command.conf"
|
include "../../etc/icinga2/features-available/command.conf"
|
||||||
|
|
||||||
include "conf/resource.conf"
|
include "conf/resource.conf"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user