Module: check_mk
Branch: master
Commit: d7ca7f54d3ea3d0488d014c578891eed83e4714f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d7ca7f54d3ea3d…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Thu Jul 6 11:29:55 2017 +0200
4913 FIX oracle_tablespaces: A service will now go indeed to warn only if left space is below the warn level
Before the state already changed if the left space has been equal to a threshold level.
Change-Id: I60af03f489f72522fbbb7657605a34a371ca41eb
---
.werks/4913 | 10 ++++++++++
checks/oracle_tablespaces | 4 ++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/.werks/4913 b/.werks/4913
new file mode 100644
index 0000000..7882374
--- /dev/null
+++ b/.werks/4913
@@ -0,0 +1,10 @@
+Title: oracle_tablespaces: A service will now go indeed to warn only if left space is below the warn level
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1499333114
+Class: fix
+
+Before the state already changed if the left space has been equal to a threshold level.
diff --git a/checks/oracle_tablespaces b/checks/oracle_tablespaces
index a2a9a5b..581b09e 100644
--- a/checks/oracle_tablespaces
+++ b/checks/oracle_tablespaces
@@ -345,9 +345,9 @@ def check_oracle_tablespaces(item, params, parsed):
if ts_status != "READONLY" and ts_type == 'PERMANENT':
status = 0
- if crit is not None and free_space <= crit:
+ if crit is not None and free_space < crit:
status = 2
- elif warn is not None and free_space <= warn:
+ elif warn is not None and free_space < warn:
status = 1
if status:
Module: check_mk
Branch: master
Commit: 9957a35be39a67fd074cf9ac28fbaaf3c488f9ea
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9957a35be39a67…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Thu Jul 6 11:31:15 2017 +0200
updated title of werk
Change-Id: I5ccebcc9516fafef3ead93388ef875acc368493a
---
.werks/4913 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.werks/4913 b/.werks/4913
index 7882374..ae8773d 100644
--- a/.werks/4913
+++ b/.werks/4913
@@ -1,4 +1,4 @@
-Title: oracle_tablespaces: A service will now go indeed to warn only if left space is below the warn level
+Title: oracle_tablespaces: A service will now indeed change state only if left space is below a threshold level
Level: 1
Component: checks
Compatible: compat
Module: check_mk
Branch: master
Commit: c900c4aab9e7b20a9a9f39b0f620b092bfaf5f5b
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c900c4aab9e7b2…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Wed Jul 5 15:23:45 2017 +0200
obsolete bugreport
Change-Id: Iaaa6f73404c611ac731326957ab643128e021afc
---
.bugs/2512 | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git a/.bugs/2512 b/.bugs/2512
deleted file mode 100644
index 4e563af..0000000
--- a/.bugs/2512
+++ /dev/null
@@ -1,22 +0,0 @@
-Title: failed service discovery in rare situations
-Component: checks
-State: open
-Date: 2017-07-04 15:21:44
-Targetversion: 1.5.0
-Class: bug
-
-Situation:
-In rare situation the service discovery will fail and discover no new snmp checks. Even if these are correctly implemented and the services are discovered on a different check_mk site.
-This behaviour is rare and possibly hard to reproduce. Several different forms has been discovered:
-1. Services are not discovered on commandline (cmk -IIv hostname) but in WATO Service Discovery.
-2. Services are not discovered on cmd and not in WATO Service Discovery. The Discovery Check of the hosts see the missing services.
-3. Nothing is discovered except forcing the check plugin with --checks=pluginname
-
-In some cases a workaround can be to discover the services in WATO. After that the discovery on cmd is working again. This is not working all the time.
-
-To reproduce the first occurance of this bug:
-
-cmk --flush hostname
-cmk -IIv
-
-There is no known way to reproduce the third occurance nor to get it working again.
Module: check_mk
Branch: master
Commit: c5a953b98fda986c3decaa2243c702663a03038f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c5a953b98fda98…
Author: Sven Rueß <sr(a)mathias-kettner.de>
Date: Wed Jul 5 14:13:26 2017 +0200
new bug related to mknotify with distributed monitoring
Change-Id: I1f7d9e8751b18df74e79cf70d276b10a824cc862
---
.bugs/2927 | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/.bugs/2927 b/.bugs/2927
new file mode 100644
index 0000000..b4c6228
--- /dev/null
+++ b/.bugs/2927
@@ -0,0 +1,12 @@
+Title: mknotify with distributed monitoring
+Component: wato
+State: open
+Date: 2017-07-05 14:08:01
+Targetversion: 1.4.0
+Class: bug
+
+If you set up a distributed monitoring environment with a central notification instance on master site.
+After activating mknotifyd and activate the listener port on the master, this setting will automatically
+synchronized to all slave sites. A user have to modify each sitespecific global settings to deactivate
+the listener and add the connection to the master.
+This global setting should not be synchronized to all slaves.
Module: check_mk
Branch: master
Commit: e911e2188103e7dc225031be5b8d15fa09abe2aa
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e911e2188103e7…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Jul 5 13:46:00 2017 +0200
added help text
Change-Id: Ic20bf5a039c26d88b7dff1f8091bb769a5843850
---
web/htdocs/wato.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 482c1c8..73d4176 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -9902,12 +9902,13 @@ class ModeEditSite(ModeSites):
else:
html.write_text(self._site_id)
+ html.help(_("The site ID must be identical (case sensitive) with the instance's exact name."))
# Alias
forms.section(_("Alias"))
html.text_input("alias", self._site.get("alias", ""), size = 60)
if not self._new:
html.set_focus("alias")
- html.help(_("An alias or description of the site"))
+ html.help(_("An alias or description of the site."))
def _page_livestatus_settings(self):
Module: check_mk
Branch: master
Commit: e760d2cf3e9849dbaa40ad4ab19e24e43bfa2acc
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e760d2cf3e9849…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jul 5 13:04:51 2017 +0200
Removed deprecated function
Change-Id: Ifbff2d483a732b13b1f558561cd12c68e74ad980
---
cmk_base/checks.py | 4 ----
1 file changed, 4 deletions(-)
diff --git a/cmk_base/checks.py b/cmk_base/checks.py
index 53a72fb..1c578de 100644
--- a/cmk_base/checks.py
+++ b/cmk_base/checks.py
@@ -287,10 +287,6 @@ def check_variable_names():
return _check_variables.keys()
-def get_include_context(include_file_name):
- return _include_contexts[include_file_name]
-
-
# Some variables are accessed from the generic Check_MK code. E.g. during
# constructing the parameters of a check before executing the check function,
# or during loading of the configuration and the autochecks.