mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
Update migration script README.
This commit is contained in:
parent
2dacc047ec
commit
bc4c4098f0
@ -39,18 +39,24 @@ All required templates will be inherited from Icinga2's Template Library (ITL).
|
|||||||
Regular expressions are not supported, also for the reason that this is optional in Icinga 1.x
|
Regular expressions are not supported, also for the reason that this is optional in Icinga 1.x
|
||||||
|
|
||||||
RUN
|
RUN
|
||||||
# /usr/bin/icinga2-migrate-config -c /etc/icinga/icinga.cfg -o conf/
|
# mkdir /etc/icinga2/migration
|
||||||
|
# /usr/bin/icinga2-migrate-config -c /etc/icinga/icinga.cfg -o /etc/icinga2/migration/
|
||||||
|
|
||||||
HELP
|
HELP
|
||||||
# /usr/bin/icinga2-migrate-config -h
|
# /usr/bin/icinga2-migrate-config -h
|
||||||
|
|
||||||
VERBOSE
|
VERBOSE
|
||||||
# /usr/bin/icinga2-migrate-config -v -c /etc/icinga/icinga.cfg -o conf/
|
# mkdir /etc/icinga2/migration
|
||||||
|
# /usr/bin/icinga2-migrate-config -v -c /etc/icinga/icinga.cfg -o /etc/icinga2/migration/
|
||||||
|
|
||||||
TEST
|
TEST
|
||||||
There's a small icinga2 conversion test config available, including conf/ folder.
|
Include /etc/icinga2/migration in /etc/icinga2/icinga2.conf and restart Icinga 2
|
||||||
|
|
||||||
# /usr/sbin/icinga2 -c icinga2-conv.conf
|
# vim /etc/icinga2/icinga2.conf
|
||||||
|
|
||||||
|
include "migration/*.conf"
|
||||||
|
|
||||||
|
# service icinga2 restart
|
||||||
|
|
||||||
|
|
||||||
REQUIREMENTS
|
REQUIREMENTS
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
include <itl/itl.conf>
|
|
||||||
|
|
||||||
//basic
|
|
||||||
include "../../etc/icinga2/features-available/checker.conf"
|
|
||||||
include "../../etc/icinga2/features-available/notification.conf"
|
|
||||||
|
|
||||||
//classic ui
|
|
||||||
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"
|
|
||||||
|
|
||||||
include "conf/*.conf"
|
|
Loading…
x
Reference in New Issue
Block a user