Module: check_mk
Branch: master
Commit: 146ceb2d3a5955042f28b021f5ad419cc94f2cc0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=146ceb2d3a5955…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue May 19 16:03:34 2015 +0200
The windows agent now comes with the following folders
<table>
<tr><th>Folder</th><th>Description</th></tr>
<tr><td>local</td>local scripts<td></td></tr>
<tr><td>plugins</td>plugin scripts<td></td></tr>
<tr><td>config</td><td>configuration files for
scripts</td></tr>
<tr><td>state</td><td>state files for scripts and the agent, e.g.
logwatch state</td></tr>
<tr><td>spool</td><td>spoolfiles from other
applications</td>/tr>
<tr><td>log</td>logfiles from scripts and the
agent<td></td></tr>
<tr><td>temp</td>working directory for
scripts<td></td></tr>
</table>
When you update the agent to a newer version, the content of this folders will not get
deleted.
Only during the uninstall everything is cleaned up, with two exceptions.
Self-written scripts in the <i>local</i> and <i>plugin</i> folders
are not automatically
deleted during uninstall. These files will linger around till you remove them manually.
The incompatible part of this werk is the changed location of the state files for the
logwatch and logfiles checks. These files were located in the agent directory, now they
are located in the subdirectory <i>state</i>. As a result, if you start the
new agent there
will be no known last offsets of the logwatch and the eventlog monitoring. In this
scenario
the agent will start at the end.
If you want to start at the old offsets, you need to copy the files
<i>logstate.txt</i> and
<i>eventstate.txt</i> into the <i>state</i> directory.
---
.werks/2275 | 34 ++++++++++
ChangeLog | 2 +
agents/windows/build_version | 2 +-
agents/windows/check_mk_agent-64.exe | Bin 301056 -> 301568 bytes
agents/windows/check_mk_agent-64.unversioned.exe | Bin 301056 -> 301568 bytes
agents/windows/check_mk_agent.cc | 74 +++++++++++++++++-----
agents/windows/check_mk_agent.exe | Bin 182784 -> 183808 bytes
agents/windows/check_mk_agent.msi | Bin 732160 -> 734208 bytes
agents/windows/check_mk_agent.unversioned.exe | Bin 182784 -> 183808 bytes
agents/windows/install_agent-64.exe | Bin 178461 -> 178942 bytes
agents/windows/install_agent.exe | Bin 159422 -> 159862 bytes
agents/windows/msibuild/vanilla_container.msi | Bin 730624 -> 731136 bytes
12 files changed, 95 insertions(+), 17 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=146ceb2d3a…