Module: check_mk
Branch: master
Commit: de9c297a3650de96af017f9c6fb8c1592aa46f8d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=de9c297a3650de…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jan 22 14:44:34 2015 +0100
#1847 FIX oracle_logswitches: Fixed description of WATO rule for levels
Both levels are compared with <= or >=. The description now clearly
shows this.
---
.werks/1847 | 11 +++++++++++
ChangeLog | 3 ++-
web/plugins/wato/check_parameters.py | 8 ++++----
3 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/.werks/1847 b/.werks/1847
new file mode 100644
index 0000000..335d896
--- /dev/null
+++ b/.werks/1847
@@ -0,0 +1,11 @@
+Title: oracle_logswitches: Fixed description of WATO rule for levels
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1421934217
+
+Both levels are compared with <= or >=. The description now clearly
+shows this.
diff --git a/ChangeLog b/ChangeLog
index d0ae087..ef85f2e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -99,9 +99,10 @@
NOTE: Please refer to the migration notes!
* 1671 FIX: windows agent: fixed gaps in eventlog monitoring after agent restart...
* 1856 FIX: ibm_svc_array ibm_svc_mdisk ibm_svc_mdiskgrp ibm_svc_portfc: made checks
more robust for varying number of parameters of IBM SVC agent plugin...
- * 1858 FIX: docsis_channels_downstream: allow for negative values of power in dBm
* 1874 FIX: ps: Old process inventory configurations work now again...
* 1875 FIX: Fixed possible exceptions of CMC Check_MK helpers when using some custom
checks...
+ * 1858 FIX: docsis_channels_downstream: allow for negative values of power in dBm
+ * 1847 FIX: oracle_logswitches: Fixed description of WATO rule for levels...
Multisite:
* 1758 Improved exception hander: Shows details without additional debug request,
added mailto link for error report...
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index cca93b2..62aec36 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -3550,10 +3550,10 @@ register_check_parameters(
help = _("This check monitors the number of log switches of an ORACLE
"
"database instance in the last 60 minutes. You can set levels for
upper and lower bounds."),
elements = [
- Integer(title = _("Critical if fewer than"), unit=_("log
switches")),
- Integer(title = _("Warning if fewer than"), unit=_("log
switches")),
- Integer(title = _("Warning if more than"), unit=_("log
switches")),
- Integer(title = _("Critical if more than"), unit=_("log
switches")),
+ Integer(title = _("Critical at or below"), unit=_("log
switches / hour"), default_value = -1),
+ Integer(title = _("Warning at or below"), unit=_("log
switches / hour"), default_value = -1),
+ Integer(title = _("Warning at or above"), unit=_("log
switches / hour"), default_value = 50),
+ Integer(title = _("Critical at or above"), unit=_("log
switches / hour"), default_value = 100),
]),
TextAscii(
title = _("Database SID"),