IncludeLocalScriptRule

IT Asset Management (Cloud)

Command line | Registry

Tip: This preference requires that the up-to-date InventorySettings.xml file is either:
  • Co-located with the FlexNet Inventory Scanner (or the scanner-like ndtrack.sh on UNIX-like platforms)
  • Correctly installed with the fully-installed FlexNet Inventory Agent.
Unless this condition is met, this preference is ignored.
By default when the above condition is met, the tracker (ndtrack executable) will perform all local scripting actions specified in InventorySettings.xml. For example, this file includes enhanced inventory abilities related to Oracle databases and the hardware they run on, and Microsoft Exchange (although the functionality available is subject to the products you have licensed within IT Asset Management). When the IncludeLocalScriptRule preference is included, only local script rules that are included as parameters in the list will be performed (all others are implicitly excluded). This means that you should use this preference only when you want to limit the number of local scripts running on an inventory device.
Tip: As an alternative, the ExcludeLocalScriptRule preference lists specific rules to exclude, leaving all others running. If you use both preferences, ExcludeLocalScriptRule has priority.
Tip: Collection of Oracle inventory may be affected by any of the following preferences:

Values

Values / range

Valid rule name. For reference, valid rule names can be found in InventorySettings.xml by searching for the Id attribute of the RecognitionRule XML element.

Default value

There is no default. You must specify a rule name as a value. When neither of IncludeLocalScriptRule or ExcludeLocalScriptRule is specified, the default is to execute all the scripts in InventorySettings.xml (assuming PerformLocalScripting is true).

Example values

OracleCPURule
This rule controls the collection of Oracle hardware inventory.
OracleRule
This rule controls the collection of Oracle Database inventory.

Command line

Tool

ndtrack

Example

-o IncludeLocalScriptRule="OracleCPURule"

To include more than one rule, use a comma-delimited list:

-o IncludeLocalScriptRule="OracleCPURule,AdditionalRule"

Registry

Installed by

Manual configuration

Computer preference

[Registry]\Managesoft\Tracker\CurrentVersion

IT Asset Management (Cloud)

Current