Licenses: Updated the list of licenses and added a PDF containing all license texts
[check_mk.git] / .werks / 929
blob705f0f251408cdea29ffcadaa1c5f469a4a5c807
1 Title: windows agent: now able to include and execute additional local and plugin scripts as different user
2 Level: 2
3 Component: checks
4 Version: 1.2.5i3
5 Date: 1401444688
6 Class: feature
8 In the <tt>[local]</tt> and <tt>[plugin]</tt> sections the new option <tt>include</tt> has been introduced.
9 With this option you can configure additional local and plugin directories, which should get parsed.
10 You can also configure that the scripts in the given directories should get executed as a different user.
11 <br><br>
12 Example configuration:<br>
14 F+:check_mk.ini
15 [plugins]
16     # The scripts in the following folder are executed as user \\ab
17     include \\ab = C:\users\ab\plugins
18     # The scripts in the following folder are executed without any
19     # changes to the user permission
20     include - = C:\scripts\plugins
21 F-:
23 <b>Important:</b> Keep in mind that the agent needs the permission to run
24 scripts as other user. Internally it uses the windows command <tt>runas /User:</tt>
25 which prompts for a password if the windows agent has no permission to change to this user.