[icinga-checkins] icinga.org: icinga2/mfriedrich/config: ConvertConfig: add basic support for users, timeperiods, *groups

git at icinga.org git at icinga.org
Mon Apr 8 11:20:15 CEST 2013

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

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Wed Apr  3 19:08:00 2013 +0200

ConvertConfig: add basic support for users, timeperiods, *groups

as well as display_name as attribute to print something.

contact => user mapping is added as well, manipulating the __TYPE var
too. furthermore display_name on the host will be overwritten by the
alias, if set.

the groups don't dump much, only the display_name if set. their dump
function is implemented generic, based on the __TYPE


 contrib/configconvert/Icinga2/Convert.pm        |  226 +++++++++++++++++------
 contrib/configconvert/Icinga2/DumpIcinga2Cfg.pm |   74 ++++++++
 contrib/configconvert/Icinga2/Utils.pm          |    1 +
 3 files changed, 243 insertions(+), 58 deletions(-)

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

More information about the icinga-checkins mailing list