Module: check_mk
Branch: master
Commit: 0a9784f7f5cd4ff02a976aba12962f77485b2565
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0a9784f7f5cd4f…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Jan 20 14:23:44 2015 +0100
#1671 FIX windows agent: fixed gaps in eventlog monitoring after agent restart
The windows eventlog monitoring was not entirely continuous.
After the agent started it determined determined the initial record number
for each eventlog. Per default the start number was the last record.
Thus resulted in monitoring gaps as long as the windows was not running, e.g. windows
startup.
With this fix, the windows agent now uses a statefile
(<tt>eventstate.txt</tt>) which
contains the last processed eventrecord ids for each eventlog.
On startup the statefile is read and the record numbers are set accordingly.
---
.werks/1671 | 17 ++++
ChangeLog | 3 +-
agents/windows/build_version | 2 +-
agents/windows/check_mk_agent-64.exe | Bin 209920 -> 211968 bytes
agents/windows/check_mk_agent-64.unversioned.exe | Bin 209920 -> 211968 bytes
agents/windows/check_mk_agent.cc | 118 ++++++++++++++++++++--
agents/windows/check_mk_agent.exe | Bin 178688 -> 180224 bytes
agents/windows/check_mk_agent.msi | Bin 622592 -> 626176 bytes
agents/windows/check_mk_agent.unversioned.exe | Bin 178688 -> 180224 bytes
agents/windows/crash.exe | Bin 20024 -> 20024 bytes
agents/windows/install_agent-64.exe | Bin 160685 -> 161361 bytes
agents/windows/install_agent.exe | Bin 157644 -> 158131 bytes
agents/windows/nowin.exe | Bin 22511 -> 22511 bytes
13 files changed, 130 insertions(+), 10 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=0a9784f7f5…