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

git at icinga.org git at icinga.org
Wed Apr 3 19:10:51 CEST 2013


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

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=05dc3284287c7147e3be3baf903c176dc883a1cf




More information about the icinga-checkins mailing list