Module: check_mk
Branch: master
Commit: f8e3112a90cd31f06ac17a30290915f72e2f5abb
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f8e3112a90cd31…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Sep 13 11:15:27 2017 +0200
5228 FIX WATO Web-API: now able to edit users which were created through the GUI
Users created through the WATO users page lacked the attribute <tt>"connector":"htpasswd"</tt>.
The edit_users Web API call can now handle this scenario.
---
.werks/5228 | 12 ++++++++++++
web/plugins/webapi/webapi.py | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/5228 b/.werks/5228
new file mode 100644
index 0000000..fda376a
--- /dev/null
+++ b/.werks/5228
@@ -0,0 +1,12 @@
+Title: WATO Web-API: now able to edit users which were created through the GUI
+Level: 1
+Component: wato
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1505293943
+Class: fix
+
+Users created through the WATO users page lacked the attribute <tt>"connector":"htpasswd"</tt>.
+The edit_users Web API call can now handle this issue.
+
diff --git a/web/plugins/webapi/webapi.py b/web/plugins/webapi/webapi.py
index 06c65a8..6df4f93 100644
--- a/web/plugins/webapi/webapi.py
+++ b/web/plugins/webapi/webapi.py
@@ -605,7 +605,7 @@ def action_edit_users(request):
if user_id not in all_users:
raise MKUserError(None, _("Unknown user: %s") % user_id)
- if all_users[user_id].get("connector") != "htpasswd":
+ if all_users[user_id].get("connector", "htpasswd") != "htpasswd":
raise MKUserError(None, _("This user is not a htpasswd user: %s") % user_id)
user_attrs = copy.deepcopy(all_users[user_id])
Module: check_mk
Branch: master
Commit: 18850c40f887e5c45e8d95e629ea61fb5780e7b8
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=18850c40f887e5…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue Sep 12 16:40:18 2017 +0200
5123 FIX Service discovery: Fix moving services from 'Disabled services' to 'Vanished services' or 'Undecided services'
Change-Id: I57d2cbe0f6b10b81933ff9ac1e3dc183daf3af3c
---
.werks/5123 | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/.werks/5123 b/.werks/5123
new file mode 100644
index 0000000..ce2ddaf
--- /dev/null
+++ b/.werks/5123
@@ -0,0 +1,13 @@
+Title: Service discovery: Fix moving services from 'Disabled services' to 'Vanished services' or 'Undecided services'
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1505140485
+
+Before passive services were not always listed in the right group resp.
+they disappeared and just after a reload they were listed in the right
+table. This has been fixed.
Module: check_mk
Branch: master
Commit: b8efde871188b7a5f2579d0e0fd41b3f414c8fea
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b8efde871188b7…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Sep 13 10:57:16 2017 +0200
Updated bug entries #2952
Change-Id: Ie016e64ac8b1180182d0c00cb2457b2758234f78
---
.bugs/2952 | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/.bugs/2952 b/.bugs/2952
new file mode 100644
index 0000000..82e2d8a
--- /dev/null
+++ b/.bugs/2952
@@ -0,0 +1,20 @@
+Title: Fix piggyback cleanup mechanism
+Component: core
+State: open
+Date: 2017-09-13 10:52:02
+Targetversion: 1.5.0
+Class: bug
+
+The logic for cleaning up piggyback files is not scaling well and may
+also include race conditions.
+
+Idea:
+
+- Remove the cleanup routine (remove_piggyback_info_from())
+- Also remove the os.remove() from get_piggyback_files()
+- Persist the time the a piggy source host was delivering data for the
+ last time
+- Only use the piggyback data which is of equal age or newer than the
+ last time the piggyback source host was contacted.
+ -> Replace "config.piggyback_max_cachefile_age" handling and replace
+ it with the timestamp of the last source host contact
Module: check_mk
Branch: master
Commit: e788ae8c6520771d24f3a81598f1b54304de3688
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e788ae8c652077…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Sep 13 10:07:23 2017 +0200
Updated bug entries #2951
Change-Id: Ifad8671df271bbe5fe9eceb95ccbc2a75d7c0702
---
.bugs/2951 | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/.bugs/2951 b/.bugs/2951
new file mode 100644
index 0000000..d540f16
--- /dev/null
+++ b/.bugs/2951
@@ -0,0 +1,12 @@
+Title: Reflect "cluster aware" information of checks in man pages
+Component: core
+State: open
+Date: 2017-09-13 10:04:25
+Targetversion: 1.5.0
+Class: cleanup
+
+The information whether or not a check is "cluster aware" is
+not shown in the man page of a check. We should read the
+"node_info" and show the information in the man page.
+
+On command line, the WATO GUI and the web page.
Module: check_mk
Branch: master
Commit: e3eb949ad2614ef62bc2686bb7e1ac01c0481cb0
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e3eb949ad2614e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Sep 12 16:50:25 2017 +0200
5206 FIX Ruleset quick search now excludes deprecated rulesets
Deprecated rulesets are now excluded from the search when performing
a "quick search" for rulesets / rules in WATO when starting the search
from a view that does not show deprecated rulesets.
Change-Id: Id9b2d30367b1d959332f7b84945a7157b72039d2
---
.werks/5206 | 13 +++++++++++++
web/htdocs/wato.py | 5 +++++
2 files changed, 18 insertions(+)
diff --git a/.werks/5206 b/.werks/5206
new file mode 100644
index 0000000..10b79bf
--- /dev/null
+++ b/.werks/5206
@@ -0,0 +1,13 @@
+Title: Ruleset quick search now excludes deprecated rulesets
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1505227672
+
+Deprecated rulesets are now excluded from the search when performing
+a "quick search" for rulesets / rules in WATO when starting the search
+from a view that does not show deprecated rulesets.
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 41dc4cd..402afe7 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -12369,6 +12369,11 @@ class ModeRulesets(WatoMode):
def _from_vars(self):
self._group_name = html.var("group")
+ # Explicitly hide deprecated rulesets by default
+ if not html.has_var("search_p_ruleset_deprecated"):
+ html.set_var("search_p_ruleset_deprecated", "1"),
+ html.set_var("search_p_ruleset_deprecated_USE", "on")
+
# Transform group argument to the "rule search arguments"
# Keeping this for compatibility reasons for the moment
if self._group_name: