[icinga-checkins] icinga.org: icinga2/mfriedrich/config: WIP configconversion: rewrite recursive lookup of linked host_name/service_description

git at icinga.org git at icinga.org
Fri Mar 15 17:12:01 CET 2013


Module: icinga2
Branch: mfriedrich/config
Commit: 4c19577851dd7e9a933cfeb412277e7b706329ba
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=4c19577851dd7e9a933cfeb412277e7b706329ba

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=4c19577851dd7e9a933cfeb412277e7b706329ba




More information about the icinga-checkins mailing list