[icinga-checkins] icinga.org: icinga2/feature/configconvert-2743: configconvert: custom attr (CVs, *_url, notes, *image*, 2d_coords)

git at icinga.org git at icinga.org
Wed Jun 26 16:03:55 CEST 2013


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

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Wed Jun 26 16:01:22 2013 +0200

configconvert: custom attr (CVs, *_url, notes, *image*, 2d_coords)

collect attributes
* notes
* icon_image
* icon_image_alt
* action_url
* notes_url
* statusmap_image
* 2d_coords
* _CVs
* !__I2CONVERT

and stash it onto the custom dictionary.

note: attribute names starting with a number need to be quoted.

fixes #3096

---

 tools/configconvert/Icinga2/Convert.pm          |   99 ++++++++++++----------
 tools/configconvert/Icinga2/ExportIcinga2Cfg.pm |  106 ++++++++++++-----------
 2 files changed, 111 insertions(+), 94 deletions(-)

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




More information about the icinga-checkins mailing list