Module: check_mk
Branch: master
Commit: 5bc2afe0432d4e66d09588c421611217d00b6dd3
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5bc2afe0432d4e…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Fri Nov 6 09:04:39 2015 +0100
git bug
---
.bugs/2366 | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/.bugs/2366 b/.bugs/2366
new file mode 100644
index 0000000..400dddc
--- /dev/null
+++ b/.bugs/2366
@@ -0,0 +1,12 @@
+Title: mk_logwatch should limit number of lines processed by default
+Component: checks
+State: open
+Date: 2015-11-06 09:02:53
+Targetversion: future
+Class: nastiness
+
+Currently the default behaviour of mk_logwatch is to process all input, independent of the amount of data sent and time spent.
+Via the "Text logfiles (Linux)" one can set those limits but the default behaviour should already be sane.
+In the same Context, there should be an option to not drop exceeding lines but keep them for the next cycle.
+If technically possible it may be desireable to colapse repeated similar lines (i.e. "last line repeated 200 times")
+but this would require a reliable way to identify timestamps.
Module: check_mk
Branch: master
Commit: 2181fd3ed9c0ddd8b7341f2e5e47b73a34fc7fa9
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2181fd3ed9c0dd…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Nov 5 08:32:23 2015 +0100
Convert legacy bookmarks to bookmark list only when user has no other bookmark lists
---
web/plugins/sidebar/shipped.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/web/plugins/sidebar/shipped.py b/web/plugins/sidebar/shipped.py
index fde5d12..d1a4d02 100644
--- a/web/plugins/sidebar/shipped.py
+++ b/web/plugins/sidebar/shipped.py
@@ -1144,9 +1144,15 @@ class BookmarkList(pagetypes.Overridable, pagetypes.Base):
@classmethod
def load_legacy_bookmarks(self):
+ # Don't load the legacy bookmarks when there is already a my_bookmarks list
if self.has_instance((config.user_id, "my_bookmarks")):
return
+ # Also don't load them when the user has at least one bookmark list
+ for user_id, name in self.instances_dict().keys():
+ if user_id == config.user_id:
+ return
+
bookmark_list = {
"title" : u"My Bookmarks",
"public" : False,