[icinga-checkins] icinga.org: icinga-web/support/1.8: Duplicates on services

git at icinga.org git at icinga.org
Thu Apr 4 15:39:11 CEST 2013


Module: icinga-web
Branch: support/1.8
Commit: f9b0f07b7e5e8092077117ce82b41c9a105f32d9
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=f9b0f07b7e5e8092077117ce82b41c9a105f32d9

Author: Marius Hein <marius.hein at netways.de>
Date:   Thu Apr  4 11:57:40 2013 +0200

Duplicates on services

Added DISTINCT to service querys. With various credentials
this will resolve double service entries in grid.

fixes #3921

---

 app/modules/Api/config/views/service.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/modules/Api/config/views/service.xml b/app/modules/Api/config/views/service.xml
index a770d08..2df1957 100755
--- a/app/modules/Api/config/views/service.xml
+++ b/app/modules/Api/config/views/service.xml
@@ -6,7 +6,7 @@
         <dql name="TARGET_SERVICE" >
             <query>
             <![CDATA[
-            SELECT
+            SELECT DISTINCT
                 s.icon_image AS SERVICE_ICON_IMAGE,
                 i.instance_name AS INSTANCE_NAME,
                 h.host_object_id AS HOST_OBJECT_ID,





More information about the icinga-checkins mailing list