[icinga-checkins] icinga.org: icinga-web/r1.8: Reporting Module: fix servicegroup reports ( thx jschanz, wolle) fixes #3503 refs #3491

git at icinga.org git at icinga.org
Fri Feb 8 10:58:22 CET 2013


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

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Fri Feb  8 10:56:08 2013 +0100

Reporting Module: fix servicegroup reports (thx jschanz, wolle) fixes #3503 refs #3491

---

 app/modules/Reporting/config/module.xml.in |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/app/modules/Reporting/config/module.xml.in b/app/modules/Reporting/config/module.xml.in
index 6c13965..0deaf1d 100644
--- a/app/modules/Reporting/config/module.xml.in
+++ b/app/modules/Reporting/config/module.xml.in
@@ -76,6 +76,7 @@
                         <ae:parameter name="valueField">HOST_OBJECT_ID</ae:parameter>
                         <ae:parameter name="displayField">HOST_NAME</ae:parameter>
                     </ae:parameter>
+
                     <ae:parameter name="p_hostgroup_object_id">
                         <ae:parameter name="className">Icinga.Reporting.inputControl.ApiSelectionField</ae:parameter>
                         <ae:parameter name="target">hostgroup</ae:parameter>
@@ -99,6 +100,17 @@
                         <ae:parameter name="displayField">SERVICE_NAME</ae:parameter>
                         <ae:parameter name="tpl"><![CDATA[{HOST_NAME} - {SERVICE_NAME}]]></ae:parameter>
                     </ae:parameter>
+
+                    <ae:parameter name="p_servicegroup_object_id">
+                        <ae:parameter name="className">Icinga.Reporting.inputControl.ApiSelectionField</ae:parameter>
+                        <ae:parameter name="target">servicegroup</ae:parameter>
+                        <ae:parameter name="columns">
+                            <ae:parameter>SERVICEGROUP_OBJECT_ID</ae:parameter>
+                            <ae:parameter>SERVICEGROUP_NAME</ae:parameter>
+                        </ae:parameter>
+                        <ae:parameter name="valueField">SERVICEGROUP_OBJECT_ID</ae:parameter>
+                        <ae:parameter name="displayField">SERVICEGROUP_NAME</ae:parameter>
+                    </ae:parameter>
                 </setting>
                 
                 <!-- Mapping for datatypes e.g. 4 == Date -->





More information about the icinga-checkins mailing list