Module: check_mk
Branch: master
Commit: 8281a737550b5c3037220c1612e8f825872ca266
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8281a737550b5c…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Nov 24 13:29:05 2016 +0100
4070 Added a painter for the service check period
---
.werks/4070 | 9 +++++++++
ChangeLog | 1 +
web/plugins/views/painters.py | 7 +++++++
3 files changed, 17 insertions(+)
diff --git a/.werks/4070 b/.werks/4070
new file mode 100644
index 0000000..7ebabbd
--- /dev/null
+++ b/.werks/4070
@@ -0,0 +1,9 @@
+Title: Added a painter for the service check period
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.4.0i3
+Date: 1479990534
+Class: feature
+
+
diff --git a/ChangeLog b/ChangeLog
index 7fcd02f..bdf0b95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -25,6 +25,7 @@
* 4092 FIX: if.include: fixed wrong calculated number of interfaces which are up
Multisite:
+ * 4070 Added a painter for the service check period
* 3974 FIX: Sorting comments in hover menu of comments icon by time now
* 4040 FIX: Fix error in view about "No WATO folder ..." in case of host
imported via cmcdump...
* 4046 FIX: Repaired html rendering....
diff --git a/web/plugins/views/painters.py b/web/plugins/views/painters.py
index 4b7fb58..283c4e3 100644
--- a/web/plugins/views/painters.py
+++ b/web/plugins/views/painters.py
@@ -918,6 +918,13 @@ multisite_painters["svc_notifper"] = {
"paint" : lambda row: (None,
row["service_notification_period"]),
}
+multisite_painters["svc_check_period"] = {
+ "title" : _("Service check period"),
+ "short" : _("check."),
+ "columns" : [ "service_check_period" ],
+ "paint" : lambda row: (None, row["service_check_period"]),
+}
+
multisite_painters["svc_flapping"] = {
"title" : _("Service is flapping"),
"short" : _("Flap"),