Michael Friedrich
6a3c1ec7aa
Config Conversion: Allow to define external global templates referenced by all objects.
...
tests:
$ ./icinga2_convert_v1_v2.pl -c /etc/icinga/icinga.cfg -o conf/
--hosttmpl="hostbumstitmpl"
--servicetmpl="servicebumstitmpl"
--usertmpl="userbumstitmpl"
--timeperiodtmpl="timeperiodbumstitmpl"
--notificationtmpl="notificationbumstitmpl"
--checkcommandtmpl="checkcommandbumstitmpl"
--eventcommandtmpl="eventcommandbumstitmpl"
--notificationcommandtmpl="notificationcommandbumstitmpl"
refs #4697
2013-09-18 11:42:16 +02:00
Michael Friedrich
53a72fcaf1
Config Conversion: Fixes.
...
refs #2743
2013-08-29 13:14:59 +02:00
Michael Friedrich
6ed811cd78
configconvert: fix already replaced quotes escaping
...
refs #2743
2013-06-26 17:52:54 +02:00
Michael Friedrich
e7ab01aa6d
configconvert: notification_options -> notification_{state,type}_filter
...
parsing the existing comma separated list and using some perl hash magic
to convert it to the new notification_type_filter and
notification_state_filter logic.
fixed missing file permission check on writing config files too.
fixes #4060
2013-06-26 13:22:15 +02:00
Michael Friedrich
6e186ac814
configconvert: remove trailing whitespaces
2013-06-26 09:23:01 +02:00
Michael Friedrich
8039aa1a08
configconvert: move to tools/
...
fixes #4337
2013-06-24 16:14:20 +02:00