The agent can be executed and instructed on what to do through a script file. The script exposes some of the options that are offered on the command line. If options are specified on the command line as well as in the script file, the command line specification takes precedence.
Note: If you want to modify the default configuration script files, they are located in the ...\DSM\Web Console\webapps\wac\jsp\ei\wl\scripts folder. Their respective file names are 1basic.wlscr, 2adv.wlscr, and 3register.wlscr.
The script file must always have a General section:
[General] OutputFolder=.\ OutputFile= Origin=CA Elective Inventory Trustlevel=5 TrustlevelRestrictedUser=3 KeepHostkey=Yes ProcessPriority=0-3
The following table includes the parameters available in the General section:
|
Parameter |
Description |
|---|---|
|
OutputFolder |
Specifies the location where the agent should put the inventory XML file. |
|
OutputFile |
Specifies the output file. By default, the output file is named using the generated host UUID. This can be overridden through this parameter. |
|
Origin |
Specifies the origin of the asset. See the Asset Collector documentation for more information on origin. |
|
Trustlevel |
Specifies the trust level of the asset. The trust level can be a number between 1 and 5. See the Asset Collector documentation for more information on trust level. |
|
TrustLevelRestrictedUser |
Specifies the trust level of the user if the NRI agent is executed by a restricted user. Restricted users do not have the same access to information as administrators, hence the reported information cannot be considered as trustworthy. If this item is not specified the “trustlevel” value is used. |
|
KeepHostkey |
If specified and the value is Yes, the agent leaves the generated hostkey in the registry. If the value is No, the key is removed. Default is Yes. |
|
ProcessPriority (optional) |
This can be used to control the priority of the sub-processes launched by the CA ITCM agent. The default value is 0 which is “idle”, meaning that sub-processes only use the CPU which is not consumed by other processes. Possible values are: 0 = Idle (default) Note: The actual prioritization is controlled by the OS. |
|
Copyright © 2013 CA.
All rights reserved.
|
|