Module: check_mk
Branch: master
Commit: 94cb41d7589de8e7ebb38a2cdda0d15bfc034410
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=94cb41d7589de8…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Fri May 13 09:39:33 2016 +0200
3133 windows agent: support for rotated log files and for reading new files from the first
line
Please see the check_mk.example.ini for details on how to configure this.
With rotated logs, a pattern has to be specified to match all "generations" of
the log and the agent
will read each in sequence and report them as one item.
---
.werks/3133 | 11 +
ChangeLog | 1 +
agents/windows/Configuration.cc | 426 +++++++++++++++-------
agents/windows/Configuration.h | 29 +-
agents/windows/Makefile | 5 +-
agents/windows/PerfCounter.cc | 8 +-
agents/windows/build_version | 2 +-
agents/windows/check_mk.example.ini | 16 +
agents/windows/check_mk_agent-64.exe | Bin 1157632 -> 1250304 bytes
agents/windows/check_mk_agent-64.unversioned.exe | Bin 1157632 -> 1250304 bytes
agents/windows/check_mk_agent.cc | 226 ++++++------
agents/windows/check_mk_agent.exe | Bin 1121792 -> 1222656 bytes
agents/windows/check_mk_agent.msi | Bin 2545152 -> 2740224 bytes
agents/windows/check_mk_agent.unversioned.exe | Bin 1121792 -> 1222656 bytes
agents/windows/install_agent-64.exe | Bin 517316 -> 554242 bytes
agents/windows/install_agent.exe | Bin 509285 -> 550946 bytes
agents/windows/stringutil.cc | 5 +
agents/windows/stringutil.h | 1 +
agents/windows/types.h | 18 +-
19 files changed, 495 insertions(+), 253 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=94cb41d758…