[icinga-checkins] icinga.org: icinga2/feature/configconvert-2743: WIP configconversion: rewrite recursive lookup of linked host_name/service_description

git at icinga.org git at icinga.org
Thu May 2 22:17:31 CEST 2013


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

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Fri Mar 15 17:09:56 2013 +0100

WIP configconversion: rewrite recursive lookup of linked host_name/service_description

this is a mess. configs may just use "name" instead of "host_name" on
type "host", same goes for service and service_descriptions. well, and
if it's a template, "name" is populated too.

the algorithm is not clean enough, and does not scale at all. there are
bugs, and the hostgroup linking is not yet taken into account too.

basics host -> service dumping of v2 config is implemented.

refs #2743

---

 contrib/configconvert/convertv1_v2.pl |  248 +++++++++++++++++++++++++++++----
 1 files changed, 218 insertions(+), 30 deletions(-)

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




More information about the icinga-checkins mailing list