Wir nutzen Cookies, um Ihnen eine optimale Nutzung dieser Webseite zu ermöglichen. Mehr Informationen finden Sie im Datenschutzhinweis. Wir nehmen an, dass Sie damit einverstanden sind, falls Sie diese Webseite weiter besuchen.

Ihre Cookie-Einstellungen
Ihre Einstellungen wurden aktualisiert.
Damit die Änderungen wirksam werden, löschen Sie bitte Ihre Browser-Cookies und den Cache und laden dann die Seite neu.

Werk #2275: windows agent: new subfolders, improved folder cleanup during uninstall

KomponenteChecks & Agents
Titelwindows agent: new subfolders, improved folder cleanup during uninstall
Datum2015-05-19 15:41:55
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.2.7i1
LevelTrivial Change
KlasseNew Feature
KompatibilitätIncompatible - Manual interaction might be required

The windows agent now comes with the following folders

FolderDescription
locallocal scripts
pluginsplugin scripts
configconfiguration files for scripts
statestate files for scripts and the agent, e.g. logwatch state
spoolspoolfiles from other applications
loglogfiles from scripts and the agent
tempworking 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.