[icinga-checkins] icinga.org: icinga2/feature/configconvert-2743: configconvert: serviceescalations with servicegroup_name

git at icinga.org git at icinga.org
Wed Jun 26 09:23:10 CEST 2013


Module: icinga2
Branch: feature/configconvert-2743
Commit: dae5ac8939d328698c8e48927ab6b3d5877d56b3
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=dae5ac8939d328698c8e48927ab6b3d5877d56b3

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Jun 25 15:39:02 2013 +0200

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 |  200 ++++++++++++++++++++++++++++++--
 1 files changed, 192 insertions(+), 8 deletions(-)

Diff:   https://git.icinga.org/?p=icinga2.git;a=commitdiff;h=dae5ac8939d328698c8e48927ab6b3d5877d56b3




More information about the icinga-checkins mailing list