[icinga-checkins] icinga.org: icinga-reports/master: Make changes on Host-Service top 10 report and add folder Servicegroup and User defined

git at icinga.org git at icinga.org
Wed Aug 24 10:25:26 CEST 2011


Module: icinga-reports
Branch: master
Commit: 1aa8be638170034ce49c2377abc728d5d303e1d0
URL:    https://git.icinga.org/?p=icinga-reports.git;a=commit;h=1aa8be638170034ce49c2377abc728d5d303e1d0

Author: Michael Luebben <michael_luebben at web.de>
Date:   Tue Jun  7 13:11:22 2011 +0200

Make changes on Host-Service top 10 report and add folder Servicegroup and User defined

---

 .../hostServiceTop10ReportInGivenTime.jrxml}       |    6 +++---
 .../hostServiceTop10InGivenTime.jrxml}             |    5 ++++-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/jasperreports/templates/main/hostservice/top10.jrxml b/jasperreports/templates/main/other/hostServiceTop10ReportInGivenTime.jrxml
similarity index 97%
rename from jasperreports/templates/main/hostservice/top10.jrxml
rename to jasperreports/templates/main/other/hostServiceTop10ReportInGivenTime.jrxml
index 991564f..9d4a98b 100644
--- a/jasperreports/templates/main/hostservice/top10.jrxml
+++ b/jasperreports/templates/main/other/hostServiceTop10ReportInGivenTime.jrxml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="icinga.report.main.hostservice.top10" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isTitleNewPage="true">
+<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Host-Service top 10 report in given time" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isTitleNewPage="true">
 	<property name="ireport.zoom" value="1.0"/>
 	<property name="ireport.x" value="0"/>
-	<property name="ireport.y" value="428"/>
+	<property name="ireport.y" value="380"/>
 	<template><![CDATA["repo:/Icinga/styles/IcingaStyleBase.jrtx"]]></template>
 	<subDataset name="graph_notifications">
 		<parameter name="p_object_id" class="java.lang.String">
@@ -281,7 +281,7 @@ group by month(entry_time), state]]>
 					<subreportParameterExpression><![CDATA[$P{p_date_start}]]></subreportParameterExpression>
 				</subreportParameter>
 				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
-				<subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "hostservice/top10"]]></subreportExpression>
+				<subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "other/hostServiceTop10InGivenTime"]]></subreportExpression>
 			</subreport>
 		</band>
 	</detail>
diff --git a/jasperreports/templates/sub/hostservice/top10.jrxml b/jasperreports/templates/sub/other/hostServiceTop10InGivenTime.jrxml
similarity index 97%
rename from jasperreports/templates/sub/hostservice/top10.jrxml
rename to jasperreports/templates/sub/other/hostServiceTop10InGivenTime.jrxml
index d2f5ea5..ab33d67 100644
--- a/jasperreports/templates/sub/hostservice/top10.jrxml
+++ b/jasperreports/templates/sub/other/hostServiceTop10InGivenTime.jrxml
@@ -1,5 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="icinga.report.sub.hostservice.top10" language="groovy" pageWidth="595" pageHeight="842" columnWidth="575" leftMargin="0" rightMargin="20" topMargin="20" bottomMargin="20">
+<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Host-Service top 10 sub report in given time" language="groovy" pageWidth="595" pageHeight="842" columnWidth="575" leftMargin="0" rightMargin="20" topMargin="20" bottomMargin="20">
+	<property name="ireport.zoom" value="1.0"/>
+	<property name="ireport.x" value="0"/>
+	<property name="ireport.y" value="0"/>
 	<subDataset name="graph_warnings">
 		<parameter name="p_date_start" class="java.sql.Timestamp">
 			<defaultValueExpression><![CDATA[]]></defaultValueExpression>





More information about the icinga-checkins mailing list