Module: check_mk
Branch: master
Commit: 981ccc3319e2a627e7b23eb0869c1bd77f6c209e
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=981ccc3319e2a6…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Dec 19 11:43:15 2016 +0100
4154 Do not send notifications if host found and currently in downtime
When you forward notifications from the Event Console to Check_MK then
from now on these are being suppressed if the host can be found in the
active monitoring and is currently in a scheduled downtime.
This is very much what users except and want to happen. Please note that
- however - this is an incompatible change sind now some notifications
will not longer be sent that have been sent previously.
Change-Id: Iee146930e13e2b382193c6f4c1abcf8e9b7d4808
---
.werks/4154 | 15 +++++++++++++++
ChangeLog | 4 ++++
bin/mkeventd | 6 ++++++
3 files changed, 25 insertions(+)
diff --git a/.werks/4154 b/.werks/4154
new file mode 100644
index 0000000..24d7135
--- /dev/null
+++ b/.werks/4154
@@ -0,0 +1,15 @@
+Title: Do not send notifications if host found and currently in downtime
+Level: 2
+Component: ec
+Compatible: incomp
+Version: 1.4.0i4
+Date: 1482144072
+Class: feature
+
+When you forward notifications from the Event Console to Check_MK then
+from now on these are being suppressed if the host can be found in the
+active monitoring and is currently in a scheduled downtime.
+
+This is very much what users except and want to happen. Please note that
+- however - this is an incompatible change sind now some notifications
+will not longer be sent that have been sent previously.
diff --git a/ChangeLog b/ChangeLog
index 65da6be..598017a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,10 @@
* 4142 New extended search dialog for rulesets and rules...
* 4003 FIX: esx_vsphere_objects: fixed check parameters display bug during WATO service discovery
+ Event Console:
+ * 4154 Do not send notifications if host found and currently in downtime...
+ NOTE: Please refer to the migration notes!
+
1.4.0i3:
Core & Setup:
diff --git a/bin/mkeventd b/bin/mkeventd
index 6462a51..ae6bb11 100755
--- a/bin/mkeventd
+++ b/bin/mkeventd
@@ -3967,6 +3967,12 @@ def do_notify(event, username=None, is_cancelling=False):
for varname, value in sorted(context.items()):
verbose(" %-25s: %s" % (varname, value))
+ if context["HOSTDOWNTIME"] != "0":
+ log("Host %s is currently in scheduled downtime. "
+ "Skipping notification of event %s." % (
+ context["HOSTNAME"], event["id"]))
+ return
+
# Send notification context via stdin.
context_string = to_utf8("".join([
Module: check_mk
Branch: master
Commit: 70fdf75b9274980769cdf2b40dc37933a9517ed1
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=70fdf75b927498…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Dec 19 11:39:37 2016 +0100
Fixed werk version
Change-Id: Ibebb86a8ab833d47ffdf928b7e458f6a12256f02
---
.werks/4169 | 2 +-
ChangeLog | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.werks/4169 b/.werks/4169
index 6da270d..170ce7e 100644
--- a/.werks/4169
+++ b/.werks/4169
@@ -2,7 +2,7 @@ Title: View action: Default values of sticky, notification and persistent option
Level: 1
Component: multisite
Compatible: compat
-Version: 1.4.0i3
+Version: 1.4.0i4
Date: 1482072617
Class: feature
diff --git a/ChangeLog b/ChangeLog
index e6fe429..65da6be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
* 4171 FIX: perle_psmu: fixed value error...
* 4172 FIX: smart.temp: fixed discovery and check function...
+ Multisite:
+ * 4169 View action: Default values of sticky, notification and persistent options can now be configured via global settings....
+
WATO:
* 4142 New extended search dialog for rulesets and rules...
* 4003 FIX: esx_vsphere_objects: fixed check parameters display bug during WATO service discovery
@@ -95,7 +98,6 @@
* 4083 Web API: Always output full traceback in case of non Check_MK unhandled exceptions
* 4135 View CSV export: Group cells are added in front of the regular cells for each row...
* 4136 Availability CSV export: Adding grouping title as first column in case of grouped views
- * 4169 View action: sticky, notification and persistent default configuration can be set for acknownledge commands in host or service views
* 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....
Module: check_mk
Branch: master
Commit: a62c412e308513811a32bf773f358684ed93625f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a62c412e308513…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Dec 19 11:10:16 2016 +0100
4172 FIX smart.temp: fixed discovery and check function
Discovery function now detects Temperature_Celsius or Temperature_Internal keys in a right way.
Now the check function handles these keys correctly.
Change-Id: I656f7a6ccba836e4e75680c95f0056283a7e3dc3
---
.werks/4172 | 11 +++++++++++
ChangeLog | 1 +
2 files changed, 12 insertions(+)
diff --git a/.werks/4172 b/.werks/4172
new file mode 100644
index 0000000..e444bca
--- /dev/null
+++ b/.werks/4172
@@ -0,0 +1,11 @@
+Title: smart.temp: fixed discovery and check function
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i4
+Date: 1482142004
+
+Discovery function now detects Temperature_Celsius or Temperature_Internal keys in a right way.
+Now the check function handles these keys correctly.
diff --git a/ChangeLog b/ChangeLog
index 97f0ff3..cfe294f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
Checks & Agents:
* 4104 veeam_tapejobs: New check to monitor Veeam tape jobs
* 4171 FIX: perle_psmu: fixed value error...
+ * 4172 FIX: smart.temp: fixed discovery and check function...
WATO:
* 4142 New extended search dialog for rulesets and rules...