Create nodes based on a service search"
Message-ID: <5339289d.9axEslwjsI1Saguu%ab(a)mathias-kettner.de>
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Module: check_mk
Branch: master
Commit: 58eb05aad2ae27bc798e92b2a383e390ad85fc3d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=58eb05aad2ae27…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Mar 31 10:34:34 2014 +0200
FIX BI editor: fixed display bug in "Create nodes based on a service search"
The WATO BI editor had some problems when displaying rules with the pattern<br>
"Create nodes based on a service search" -> "State of a service"
---
.werks/741 | 9 +++++++++
ChangeLog | 3 +++
web/htdocs/wato.py | 3 ++-
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.werks/741 b/.werks/741
new file mode 100644
index 0000000..956eb45
--- /dev/null
+++ b/.werks/741
@@ -0,0 +1,9 @@
+Title: BI editor: fixed display bug in "Create nodes based on a service
search"
+Level: 1
+Component: bi
+Version: 1.2.5i2
+Date: 1396254706
+Class: fix
+
+The WATO BI editor had some problems when displaying rules with the pattern<br>
+"Create nodes based on a service search" -> "State of a service"
diff --git a/ChangeLog b/ChangeLog
index 59ec71b..3fb0a69 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,9 @@
* 0764 lnx_quota: Added new check to monitor Linux File System Quota...
* 0740 FIX: winperf_if: now able to handle bandwidth > 4GBit...
+ BI:
+ * 0741 FIX: BI editor: fixed display bug in "Create nodes based on a service
search"...
+
1.2.5i1:
Core & Setup:
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index b00ac70..9338fff 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -15089,7 +15089,8 @@ def bi_called_rule(node):
return subnode[1][0], info
elif node[0] == "foreach_service":
subnode = node[1][-1]
- return subnode[1][0], _("Called for each service...")
+ if subnode[0] == 'call':
+ return subnode[1][0], _("Called for each service...")
def count_bi_rule_references(aggregations, aggregation_rules, ruleid):
aggr_refs = 0