]> granicus.if.org Git - icinga2/commit
configconvert: serviceescalations with servicegroup_name
authorMichael Friedrich <michael.friedrich@netways.de>
Tue, 25 Jun 2013 13:39:02 +0000 (15:39 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Wed, 26 Jun 2013 07:23:01 +0000 (09:23 +0200)
commitdae5ac8939d328698c8e48927ab6b3d5877d56b3
treee01ee31df59abc39cbf7296da8d805bed4476540
parent8eccb97642f6a5580a3451a46d1e2bd65d89006d
configconvert: serviceescalations with servicegroup_name

requires a new functionality to grab all service names by a given
servicegroup name. this only works after reprocessing all services with
their updated "servicegroups" attribute as array in the 2.x objects
hive.

after fetching the service names and their logical objects, it's quite
the same procedure as for the hostgroups and single
host_names/service_descriptions - for better reading, code remains
duplicated for now.

furthermore, escalation notification template objects are only added
based on the old contact->notification_command, and only a reference
template added when using within the service linking.

refs #4009
tools/configconvert/Icinga2/Convert.pm