[icinga-checkins] icinga.org: icinga2-migration/master: Basic Notification migration

git at icinga.org git at icinga.org
Sat Jun 14 21:36:25 CEST 2014


Module: icinga2-migration
Branch: master
Commit: 9ddb58c6a2fb1125ea888733fe2a18460d305f43
URL:    https://git.icinga.org/?p=icinga2-migration.git;a=commit;h=9ddb58c6a2fb1125ea888733fe2a18460d305f43

Author: Michael Friedrich <michael.friedrich at gmail.com>
Date:   Sat Jun 14 10:49:27 2014 +0200

Basic Notification migration

contactgroups (memebers) -> contacts ->
host|service_notification_commands as unique identifier

* create notification command
* create notification object
* assign current user (contact)
* add additional attributes

add apply from service to host vodoo, if there is no direct relationship
for notifications for services.

TODO

* notification_options (currently using a global template)

---

 .../application/clicommands/MigrateCommand.php     |   62 +++-
 .../library/Conftool/Icinga/IcingaConfig.php       |   12 +
 .../library/Conftool/Icinga2/Icinga2Host.php       |   11 -
 .../Conftool/Icinga2/Icinga2ObjectDefinition.php   |  306 +++++++++++++++++---
 .../library/Conftool/Icinga2/Icinga2Service.php    |   14 -
 5 files changed, 338 insertions(+), 67 deletions(-)

Diff:   https://git.icinga.org/?p=icinga2-migration.git;a=commitdiff;h=9ddb58c6a2fb1125ea888733fe2a18460d305f43


More information about the icinga-checkins mailing list