Module: check_mk
Branch: master
Commit: 72d0a0afec46cd54e95d55f20b3cf31719328804
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=72d0a0afec46cd…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Mon Dec 4 08:23:27 2017 +0100
5414 FIX Windows agent: Exchange Availability Service was broken
The name of the WMI class
Win32_PerfRawData_MSExchangeAvailabilityService_MSExchangeAvailabilityService
was misspelled. As a result, the Exchange Availability Service was broken in
all versions since 1.4.0. The misspelled name was introduced by the
refactoring done in commit c5ee818358e695b01c2f2dbc05ad0713723a37f8.
Change-Id: I4bb354ed43d579b7d8b49d685d5ddab9bebd8d71
---
.werks/5414 | 16 ++++++++++++++++
agents/windows/SectionManager.cc | 2 +-
agents/windows/build_version | 2 +-
3 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/.werks/5414 b/.werks/5414
new file mode 100644
index 0000000..3123ed0
--- /dev/null
+++ b/.werks/5414
@@ -0,0 +1,16 @@
+Title: Windows agent: Exchange Availability Service was broken
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.5.0i2
+Date: 1512371847
+Class: fix
+
+The name of the WMI class
+Win32_PerfRawData_MSExchangeAvailabilityService_MSExchangeAvailabilityService
+was misspelled. As a result, the Exchange Availability Service was broken in
+all versions since 1.4.0. The misspelled name was introduced by the
+refactoring done in commit c5ee818358e695b01c2f2dbc05ad0713723a37f8.
+
+
diff --git a/agents/windows/SectionManager.cc b/agents/windows/SectionManager.cc
index e202ed2..e0aa5e2 100644
--- a/agents/windows/SectionManager.cc
+++ b/agents/windows/SectionManager.cc
@@ -146,7 +146,7 @@ void SectionManager::loadStaticSections(Configuration &config) {
(new SectionWMI("msexch_availability",
"msexch_availability",
_env, _logger, _winapi))
->withObject(
- L"Win32_PerfRawData_MSExchangeAvailabilityService"))
+
L"Win32_PerfRawData_MSExchangeAvailabilityService_MSExchangeAvailabilityService"))
->withSubSection(
(new SectionWMI("msexch_owa", "msexch_owa", _env,
_logger,
_winapi))
diff --git a/agents/windows/build_version b/agents/windows/build_version
index e93610b..fd1dbd8 100644
--- a/agents/windows/build_version
+++ b/agents/windows/build_version
@@ -1 +1 @@
-3014
+3016