[icinga-checkins] icinga.org: icinga-web/master: * Adde missing alias

git at icinga.org git at icinga.org
Thu Aug 25 12:26:29 CEST 2011


Module: icinga-web
Branch: master
Commit: 8a0b76a7ad6f6f0aa2bee2fe05ba1f7aa8a494d7
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=8a0b76a7ad6f6f0aa2bee2fe05ba1f7aa8a494d7

Author: Jannis Moßhammer <jannis.mosshammer at netways.de>
Date:   Thu Aug 25 10:36:01 2011 +0200

* Adde missing alias

---

 .../LegacyLayer/TargetModifierModel.class.php      |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/app/modules/Api/models/Store/LegacyLayer/TargetModifierModel.class.php b/app/modules/Api/models/Store/LegacyLayer/TargetModifierModel.class.php
index c5758d1..d50f568 100644
--- a/app/modules/Api/models/Store/LegacyLayer/TargetModifierModel.class.php
+++ b/app/modules/Api/models/Store/LegacyLayer/TargetModifierModel.class.php
@@ -494,6 +494,7 @@ class Api_Store_LegacyLayer_TargetModifierModel extends IcingaStoreTargetModifie
                 $this->forceGroup[] = "hs.current_state";
                 $this->aliasDefs = array(
                                        "h"  => array("src" => "oh", "relation" => "host"),
+                                       "s"  => array("src" => "h", "relation" => "services"),
                                        "oh" => array("src" => "hs", "relation" => "hostobject", "alwaysJoin" => true),
                                        "i"  => array("src" => "h", "relation" => "instance"),
                                        "cg" => array("src" => "h", "relation" => "contactgroups"),
@@ -668,6 +669,7 @@ class Api_Store_LegacyLayer_TargetModifierModel extends IcingaStoreTargetModifie
                                             "with" => "ohg.is_active = 1" 
                                         ),
                                        "hgm"   => array("src" => "hg", "relation" => "members"),
+                                       "s"   => array("src" => "hgm", "relation" => "services"),
                                        "hs"    => array("src" => "hgm", "relation" => "status"),
                                        "oh"    => array("src" => "hgm", "relation" => "object")
                                    );





More information about the icinga-checkins mailing list