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 #0929: windows agent: now able to include and execute additional local and plugin scripts as different user

KomponenteChecks & Agents
Titelwindows agent: now able to include and execute additional local and plugin scripts as different user
Datum2014-05-30 12:11:28
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.2.5i3
LevelProminent Change
KlasseNew Feature
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

In the [local] and [plugin] sections the new option include has been introduced. With this option you can configure additional local and plugin directories, which should get parsed. You can also configure that the scripts in the given directories should get executed as a different user.

Example configuration:

check_mk.ini
[plugins]
# The scripts in the following folder are executed as user \\ab
include \\ab = C:\users\ab\plugins
# The scripts in the following folder are executed without any
# changes to the user permission
include - = C:\scripts\plugins

Important: Keep in mind that the agent needs the permission to run scripts as other user. Internally it uses the windows command runas /User: which prompts for a password if the windows agent has no permission to change to this user.