|Component||Checks & Agents|
|Title||windows agent: new subfolders, improved folder cleanup during uninstall|
|Level||1 - Trivial Change|
|Compatibility||Incompatible - Manual interaction might be required|
The windows agent now comes with the following folders
|config||configuration files for scripts|
|state||state files for scripts and the agent, e.g. logwatch state|
|spool||spoolfiles from other applications|
|log||logfiles from scripts and the agent|
|temp||working directory for scripts|
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 local and plugin 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 state. 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 logstate.txt and
eventstate.txt into the state directory.
To the list of all Werks