Configuring ndtrack.ini for UNIX-like Platforms
- To disable specific parts of inventory gathering (although doing this places at risk your ability to calculate consumption for licenses that rely on the inventory being available)
- To store run-time preferences that would otherwise be required on the command line at each invocation.
All the specifications embedded in the default ndtrack.ini file are also embedded in the ndtrack.sh executable, so that when the .ini file is omitted, default functionality is preserved. When the tracker is first invoked, it checks for the presence of an ndtrack.ini file in the same directory where the executable is running. If present, the external file takes precedence, in its entirety. This means that if, for example, your copy omits a provider statement that is present in the default file, this is equivalent to turning off that part of inventory gathering. For this reason, it is critically important to always start customization with a complete copy of the latest default file from your inventory beacon (see FlexNet Inventory Scanner: Implementation on Unix-Like Platforms), and to change only those elements that are essential, preserving all other values.
Disabling a part of inventory
[ManageSoft\Tracker\CurrentVersion\SunOS\Hardware\MGS_PhysicalMemory]
#provider=SolarisPhysicalMemory
#
) is commented out. This
character is also known as the pound character, or number sign.Storing a run-time preference
- Read from the command line as parameters, which parameters are common for both Windows and UNIX-like platforms (see FlexNet Inventory Scanner Command Line for details)
- Saved in a configuration file that acts as an alternative storage medium on these non-Windows platforms.
- When the complete FlexNet Inventory Agent is locally installed on the target device running a UNIX-like operating system, the file is called config.ini.
- When ndtrack.sh is being deployed alone as a light inventory scanner, the file is called ndtrack.ini.
- The equivalent of the Windows registry key is listed inside square brackets
- The following lines under each key show the registry value (or values) set under that key.
UploadLocation
, and IPv6 addresses may also be used if appropriate in
your
environment):./ndtrack.sh -o Upload=True -o UploadLocation=http://198.51.100.3/ManageSoftRL
UploadLocation
can alternatively be the fully qualified server
name):[ManageSoft\Tracker\CurrentVersion]
Upload=True
UploadLocation=http://FQServerNameOrIP/ManageSoftRL
Such customizations require that you know the equivalent registry paths used on Microsoft Windows (as well as the name/value pairs). Many preferences, complete with the relevant registry paths, are documented in the Preferences chapter of this document.
Upload
in this
manner:[Registry]\ManageSoft\Tracker\CurrentVersion
Here, the
placeholder [Registry]\
stands for one of the following values, as
appropriate for the context: - The registry base path on Windows 32-bit devices
- The registry base path on Windows 64-bit devices
- The config.ini file for the full FlexNet Inventory Agent locally installed on the device
- The ndtrack.ini file for the lightweight deployment of ndtrack.sh as a stand-alone inventory scanner.
[Registry]\
should be read as "add the following path inside square
brackets to your ndtrack.ini file". This reading, together with the
information in the Value/range entry in the relevant topics, produces the example
shown above, which is good for anonymous authentication on the upload. The standard URL
construct can also be used where an account name and password are required for the upload,
although you may prefer this format on a transitory command line rather than in a plain text
file:[ManageSoft\Tracker\CurrentVersion]
Upload=True
UploadLocation=http://AccountName:Password@FQServerNameOrIP/ManageSoftRL
IT Asset Management (Cloud)
Current