Module: check_mk
Branch: master
Commit: c451cc3f6cb52aee4908b2b5dd38c9cf31b1e20b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c451cc3f6cb52a…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Thu Feb 11 11:08:49 2016 +0100
windows agent: overhauled the eventlog-related code
improvements:
- cleaner code
- improved performance (mostly by reducing the number of times dlls get loaded fresh)
- should now be able to handle eventlogs where seeking fails due to this bug:
https://support.microsoft.com/en-us/kb/177199
- dllpath-lookup now supports all environment variables, improving the likelyhood we
find message texts
- when loading message dlls, the dll initialization no longer happens as we only need
the message table
- the above also fixes problems where dependend dlls can't be loaded and subsequent
error messages may pause the process
---
agents/windows/EventLog.cc | 178 +++++++++
agents/windows/EventLog.h | 95 +++++
agents/windows/Makefile | 6 +-
agents/windows/build_version | 2 +-
agents/windows/check_mk_agent-64.exe | Bin 6614210 -> 906240 bytes
agents/windows/check_mk_agent-64.unversioned.exe | Bin 6614210 -> 906240 bytes
agents/windows/check_mk_agent.cc | 428 +++++++++-------------
agents/windows/check_mk_agent.exe | Bin 5267934 -> 830464 bytes
agents/windows/check_mk_agent.msi | Bin 12225536 -> 1997312 bytes
agents/windows/check_mk_agent.unversioned.exe | Bin 5267934 -> 830464 bytes
agents/windows/install_agent-64.exe | Bin 1558611 -> 416143 bytes
agents/windows/install_agent.exe | Bin 1422553 -> 406731 bytes
12 files changed, 444 insertions(+), 265 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=c451cc3f6c…