Module: check_mk
Branch: master
Commit: 9679ce1b6a52a01bc8bcdd2bedd220a0ace6507e
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9679ce1b6a52a0…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Mon Mar 19 15:40:13 2018 +0100
Win-agent: cope with a weird Linux desktop bug
For some weird reason, saving the target dir for 'cd' in an
intermediate variable is necessary to prevent some desktop env's (at
least Cinnamon) from opening a fresh file manager window when run
in chroot! Please do not ask why...
---
agents/windows/build-agent | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/agents/windows/build-agent b/agents/windows/build-agent
index 0a04c7c..abd8437 100755
--- a/agents/windows/build-agent
+++ b/agents/windows/build-agent
@@ -18,8 +18,11 @@ set -e
. /$CHROOT_BUILD_DIR/agents/windows/build.sh
parse-args "$@"
-
-cd /$CHROOT_BUILD_DIR/agents/windows
+# For some weird reason, saving the target dir for 'cd' in an intermediate
+# variable is necessary to prevent some desktop env's (at least Cinnamon)
+# from opening a fresh file manager window! Please do not ask why...
+windowsdir="/$CHROOT_BUILD_DIR/agents/windows"
+cd "$windowsdir"
autoreconf --install
Module: check_mk
Branch: master
Commit: 8423fd7f754e561989efd3bd78f434713a895d8b
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8423fd7f754e56…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Mar 19 12:01:16 2018 +0100
fixed werk typo
Change-Id: Idf4a535efa7952695fe60e2df9efe1dfe15d31a1
---
.werks/5783 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.werks/5783 b/.werks/5783
index ba78713..8e70a2a 100644
--- a/.werks/5783
+++ b/.werks/5783
@@ -10,7 +10,7 @@ Class: feature
A new mechanism has been introduced allowing certain tasks to be run as background processes.
Currently the following areas are included
<ul>
-<li>Host rennaming</li>
+<li>Host renaming</li>
<li>Agent baking (Enterprise Edition)</li>
<li>Report generation (Enterprise Edition)</li>
</ul>
Module: check_mk
Branch: master
Commit: 14a9c443b6d53a83f9273fa24394d64ca19a119d
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=14a9c443b6d53a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 16 14:19:26 2018 +0100
5905 FIX Configured "Receive fallback notifications" attribute of users was not displayed correctly
The option was correctly saved for users, but always displayed as "unchecked" checkbox when
editing a user.
Change-Id: I5c300e3e826683688607a9398fb58b796638eb35
---
.werks/5905 | 12 ++++++++++++
web/htdocs/wato.py | 3 ++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.werks/5905 b/.werks/5905
new file mode 100644
index 0000000..c0f9d39
--- /dev/null
+++ b/.werks/5905
@@ -0,0 +1,12 @@
+Title: Configured "Receive fallback notifications" attribute of users was not displayed correctly
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i4
+Date: 1521206306
+
+The option was correctly saved for users, but always displayed as "unchecked" checkbox when
+editing a user.
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 3fb5faa..64fcb56 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -11453,7 +11453,8 @@ def mode_edit_user(phase):
else:
forms.section(_("Fallback notifications"), simple=True)
- html.checkbox("fallback_contact", False, label = _("Receive fallback notifications"))
+ html.checkbox("fallback_contact", user.get("fallback_contact", False),
+ label = _("Receive fallback notifications"))
html.help(_("In case none of your notification rules handles a certain event a notification "
"will be sent to this contact. This makes sure that in that case at least <i>someone</i> "
Module: check_mk
Branch: master
Commit: 37ea1d93bcc628ecb21e89ee440bc3ed25df7214
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=37ea1d93bcc628…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Thu Mar 15 16:21:09 2018 +0100
5751 FIX Add contact group contacts of EC rule if host is not a core host
When an event was received that did not belong to a host in the monitoring the
contacts of the contact groups specified in a Event Console rule were not
added to the notification context if the option "Host's contact groups have
precedence" was set in the Event Console rule. Now the contacts of the
specified contact groups are added even when the option is set.
Change-Id: I1a98fb4ddf5f6c2bca3022f6ff7946206e51a938
---
.werks/5751 | 14 ++++++++++++++
cmk/ec/main.py | 3 ++-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/.werks/5751 b/.werks/5751
new file mode 100644
index 0000000..5b973a8
--- /dev/null
+++ b/.werks/5751
@@ -0,0 +1,14 @@
+Title: Add contact group contacts of EC rule if host is not a core host
+Level: 1
+Component: ec
+Compatible: compat
+Edition: cre
+Version: 1.5.0i4
+Date: 1521126878
+Class: fix
+
+When an event was received that did not belong to a host in the monitoring the
+contacts of the contact groups specified in a Event Console rule were not
+added to the notification context if the option "Host's contact groups have
+precedence" was set in the Event Console rule. Now the contacts of the
+specified contact groups are added even when the option is set.
diff --git a/cmk/ec/main.py b/cmk/ec/main.py
index 180f652..c36f3ac 100644
--- a/cmk/ec/main.py
+++ b/cmk/ec/main.py
@@ -4587,7 +4587,8 @@ def add_contacts_from_rule(context, event):
if event.get("contact_groups") is not None and \
event.get("contact_groups_notify") and (
"CONTACTS" not in context or
- event.get("contact_groups_precedence", "host") != "host"):
+ event.get("contact_groups_precedence", "host") != "host" or
+ not event['core_host']):
add_contact_information_to_context(context, event["contact_groups"])
# "CONTACTS" is allowed to be missing in the context, cmk --notify will