Module: check_mk
Branch: master
Commit: 83234983942506e945b27a02449d27251a60a84e
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=83234983942506…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Sep 12 08:51:32 2013 +0200
Removed failing line from logwatch example
---
agents/logwatch.cfg | 1 -
1 file changed, 1 deletion(-)
diff --git a/agents/logwatch.cfg b/agents/logwatch.cfg
index 5a525b2..9c4045e 100644
--- a/agents/logwatch.cfg
+++ b/agents/logwatch.cfg
@@ -43,7 +43,6 @@
W device-mapper: thin:.*reached low water mark
C device-mapper: thin:.*no free space
C Error: (.*)
- R There is a Error: \1
/var/log/auth.log
W sshd.*Corrupted MAC on input
Module: check_mk
Branch: master
Commit: 7cf6551ddc0dec4798a82d1d0fd5f345f2ba8103
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7cf6551ddc0dec…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Wed Sep 11 14:41:54 2013 +0200
Updated bug entries #1048
---
.bugs/1048 | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/.bugs/1048 b/.bugs/1048
new file mode 100644
index 0000000..b7f59ff
--- /dev/null
+++ b/.bugs/1048
@@ -0,0 +1,13 @@
+Title: Bug in staleness on dual config (SNMP + Agent)
+Component: core
+State: open
+Date: 2013-09-11 14:37:12
+Targetversion: 1.2.3i2
+Class: bug
+
+Host is defined Dual (SNMP + Check-MK-Agent)
+check interval for SNMP Checks is increased to e. g. 5 min, while checks of Agent run
+default every minute
+The problem is: Services checked by SNMP get stale too early
+(in this case after 90 sec)
+should get stale after 900 sec
Module: check_mk
Branch: master
Commit: c669d74ad7c68c8d2d9a5fa90e91f77e87fbd8e9
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c669d74ad7c68c…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Wed Sep 11 13:32:58 2013 +0200
Updated bug entries #1002
---
.bugs/1002 | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/.bugs/1002 b/.bugs/1002
new file mode 100644
index 0000000..48608b1
--- /dev/null
+++ b/.bugs/1002
@@ -0,0 +1,11 @@
+Title: Use triangle as indicator that a view is hidden (or not hidden)
+Component: multisite
+State: open
+Date: 2013-09-11 13:19:55
+Targetversion: future
+Class: nastiness
+
+In the WATO as well as the multisite GUI views/topic can be hidden by clicking on the title.
+This may confuse a user in some occasions, because it may not be clear if the topic is hidden, or
+no item were found under that topic.
+Therefore a triangle as indicator if the topic is hidden or not should be very useful.
Module: check_mk
Branch: master
Commit: 03a0f5e9170aae522cfaa87109835f3c68e06ca1
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=03a0f5e9170aae…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Sep 11 11:05:31 2013 +0200
Removed "do not connect" option from site socket editor
---
ChangeLog | 2 ++
web/htdocs/wato.py | 11 +++++++++--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d9b77a1..63b7269 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -167,6 +167,8 @@
and folders hierarchy. Those settings override the rule base config.
* Require unique alias names in between the following elements:
Host/Service/Contact Groups, Timeperiods and Roles
+ * Removed "do not connect" option from site socket editor. Use the
+ checkbox "Disable" to disable the site for multisite.
* FIX: do validation of check items in rule editor
* FIX: More consistent handling of folderpath select in rule editor
* FIX: Now correctly handling depends_on_tags on page rendering for
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 4c37207..a7e58a6 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -6858,7 +6858,6 @@ def mode_edit_site(phase):
label = _("Path:"),
size = 40,
allow_empty = False)),
- ( "disabled", _("Do not connect")),
]
if config.liveproxyd_enabled:
conn_choices[2:2] = [
@@ -7189,12 +7188,20 @@ def load_sites():
vars = { "sites" : {} }
execfile(sites_mk, vars, vars)
+
+ # Be compatible to old "disabled" value in socket attribute.
+ # Can be removed one day.
+ for site in vars['sites'].values():
+ if site.get('socket') == 'disabled':
+ site['disabled'] = True
+ del site['socket']
+
return vars["sites"]
except Exception, e:
if config.debug:
raise MKGeneralException(_("Cannot read configuration file %s: %s" %
- (filename, e)))
+ (sites_mk, e)))
return {}
Module: check_mk
Branch: master
Commit: 4e3455422943db3c7540a1d912d2fe5667e8a471
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4e3455422943db…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Sep 11 08:32:15 2013 +0200
Fixed error when disabling the livestatus connection for a remote site via config
---
web/htdocs/config.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/config.py b/web/htdocs/config.py
index 29ef0ed..b0ec771 100644
--- a/web/htdocs/config.py
+++ b/web/htdocs/config.py
@@ -385,7 +385,8 @@ def sitenames():
def allsites():
return dict( [(name, site(name))
for name in sitenames()
- if not site(name).get("disabled", False)] )
+ if not site(name).get("disabled", False)
+ and site(name)['socket'] != 'disabled' ] )
def site(name):
s = sites.get(name, {})
@@ -405,6 +406,8 @@ def site_is_local(name):
sock = s.get("socket")
return not sock or sock == "unix:" + defaults.livestatus_unix_socket
+# FIXME: Should this return True even if all sites but one are disabled?
+# -> should we use allsites() instead of "sites" directly?
def is_multisite():
if len(sites) > 1:
return True