Module: check_mk
Branch: master
Commit: 66bbd6ea8422a87fa75613ae9ea829c998a0de90
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=66bbd6ea8422a8…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Fri Dec 9 10:17:18 2016 +0100
4099 FIX msexch_rpcclientaccess: Previously nonfunctional WATO rule and default parameters
now work
Should you previously have configured rules, these parameters were not passed to the
check.
All previously configured rules will still not work, you will have to create new rules.
---
.werks/4099 | 11 +++++++++++
ChangeLog | 2 ++
checks/msexch_rpcclientaccess | 8 ++------
web/plugins/wato/check_parameters.py | 2 +-
4 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/.werks/4099 b/.werks/4099
new file mode 100644
index 0000000..b3026e6
--- /dev/null
+++ b/.werks/4099
@@ -0,0 +1,11 @@
+Title: msexch_rpcclientaccess: Previously nonfunctional WATO rule and default parameters
now work
+Level: 1
+Component: checks
+Class: fix
+Compatible: incomp
+State: unknown
+Version: 1.4.0i3
+Date: 1481273934
+
+Should you previously have configured rules, these parameters were not passed to the
check.
+All previously configured rules will still not work, you will have to create new rules.
diff --git a/ChangeLog b/ChangeLog
index 11b5b93..6c7c35e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -45,6 +45,8 @@
* 3998 FIX: agent_netapp / netapp_api_if: improved mechanism to collect interface
infos. fixes invalid if-speed...
NOTE: Please refer to the migration notes!
* 4126 FIX: apache_status: Handle https requests lo localhost in case of certificate
mismatch...
+ * 4099 FIX: msexch_rpcclientaccess: Previously nonfunctional WATO rule and default
parameters now work...
+ NOTE: Please refer to the migration notes!
Multisite:
* 4070 Added a painter for the service check period
diff --git a/checks/msexch_rpcclientaccess b/checks/msexch_rpcclientaccess
index ebdcea4..4db5c84 100644
--- a/checks/msexch_rpcclientaccess
+++ b/checks/msexch_rpcclientaccess
@@ -28,12 +28,8 @@
# source for these defaults:
#
https://blogs.technet.microsoft.com/samdrey/2015/01/26/exchange-2013-perfor…
factory_settings['msexch_rpcclientaccess_defaultlevels'] = {
- 'latency': {
- 'upper': (200.0, 250.0)
- },
- 'requests': {
- 'upper': (30, 40)
- }
+ 'latency': (200.0, 250.0),
+ 'requests': (30, 40),
}
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 9b259ec..71b6dcc 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -5581,7 +5581,7 @@ register_check_parameters(
],
optional_keys=[]
),
- None,
+ FixedValue("", title=""),
match_type = 'dict'
)