Update migration script README.

This commit is contained in:
Michael Friedrich 2013-11-13 22:09:27 +01:00
parent 2dacc047ec
commit bc4c4098f0
2 changed files with 10 additions and 18 deletions

View File

@ -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

View File

@ -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"