NDTRACK

<< Click to Display Table of Contents >>

RayVentory Scan Engine > 12.6 u4 > User Guide > Command-Line Tools 

NDTRACK

Use the program to run a local OS inventory on Windows or unixoid platforms. The correct scope for the NDTRACK inventory needs to be specified.

 

NDTRACK (ndtrack.exe) is a command-line oriented tool for generating inventories from a Windows or unixoid platform including different flavors of Linux. It is locally executed on the target host and produces an NDI file that may be uploaded to an inventory data sink such as RVSE, RV Server, or RMS AS.

 

The command-line arguments are passed to NDTRACK as name-value pairs. Flags are set by their name.

 

Usage:

ndtrack.exe [-o <argument-name>=<value>]...

 

or

 

./ndtrack.sh [-o <argument-name>=<value>]...

 

Table of Arguments and Flags

Name

Description

Values/Range


BenchmarkCPU

Enables benchmarking the CPU. This measures the current CPU speed in MHz.

Boolean

Default value: True


CheckCertificateRevocation

Determines whether it checks the certificate revocation list when accepting web server signatures from an HTTPS server.

Boolean

Default value: True


Compress 

Determines whether inventory files are compressed for upload.

Boolean

Default value: True


CompressedExtension

File extension for the compressed inventory file.

Valid file extensions.

Default value: gz


ComputerDomain

Contains the name of the domain of the local device from which the inventory is being gathered.

One reason for setting this value is to cause UNIX like devices to report in a particular domain in listings and reports.

Valid domain name.

Default value: On Windows the current local domain. For UNIX-like devices, no value.

Example value: MyDomain.com


Configuration

Configuration name to be added to the name of the NDI file.

String

Default value: {empty}

Example value: TestConfiguration


DateTime

Overwrites date and time of the inventory file.

DateTime string in DateTimeFormat format.

Default value: {currentSystemTime}

Example value: 20200525T103055


DateTimeFormat

DateTime format string for the inventory file.

DateTimeFormat string based on the ANSI C function strftime().

Default value: %Y%m%dT%H%M%S

DateTimeFormat string based on the ANSI C function strftime().

Default value: %Y%m%dT%H%M%S

DETECTCmdLine

Command-line to run the detect utility.

Any valid command-line to execute detect.com that results in the output being written to stand stand output.

Default value: conspawn detect.com


DetectMultiCore

Detect if the targets CPU has a multi-core architecture.

Boolean

Default value: True


DetectSerial

Enables or disables detection of BIOS serial number.

Boolean

Default value: True


DeviceID

RMS / RV network device ID for inventory binding.

Valid network device ID.

Default value: {empty}

Example value: 15


Difference

Determines whether differential inventories are performed.

Boolean

Default value: False

Boolean

Default value: False

EmbedFileContentDirectory

File content from files in these directories is considered in the filescan.

Any valid folder path. Multiple paths may be specified with a semicolon separator (;) between them.

Default value: "%ProgramData%,%ProgramFiles%;%ProgramFiles (x86)%"

Any valid folder path. Multiple paths may be specified with a semicolon separator (;) between them.

Default value: "%ProgramData%,%ProgramFiles%;%ProgramFiles (x86)%"

EmbedFileContentExtension

File content from files with these extensions is considered in the filescan.

Any valid file extension. Multiple file extensions can be separated with a semicolon separator (;) between them.

Default value: swidtag

Any valid file extension. Multiple file extensions can be separated with a semicolon separator (;) between them.

Default value: swidtag

EmbedFileContentMaxSize

File content from files with this maximum file size is considered in the filescan.

Any valid integer which is interpreted as bytes.

Default value: 1000000

Any valid integer which is interpreted as bytes.

Default value: 1000000

EnableWinOldAppPolicySetting

Allows ndtrack to temporarily disable group policy settings to gain access to BIOS information.

Boolean

Default value: false


ExcludePermissionsMask

Files with these permissions are not considered in the filescan.

An octal value in the format used for chmod.

Default value: {empty}

Example value: 0777

An octal value in the format used for chmod.

Default value: {empty}

Example value: 0777

ExcludeDirectory

Files from these directories are not considered in the filescan.

Any valid folder path. Multiple paths should be separated by the semicolon (;) character.

Default value: {empty}

Example value: $(WinDirectory)

Valid folders.

Default value: {empty}

Example value: $(WinDirectory)

ExcludeEmbedFileContentDirectory

File content from these directories is not considered in the filescan.

Any valid folder path. Multiple paths should be separated by the semicolon (;) character.

Default value: {empty}

Example value: "C:\Program Files (x86)\Adobe"

One (or more) folder(s) to be excluded from the search path scanned fro ISO tag files to embed in the uploaded inventory (.ndi) file. Multiple paths should be separated by the semicolon (;) character.

Default value: {empty}

Example value: "C:\Program Files (x86)\Adobe"

ExcludeExtension

Files with these extensions are not considered in the filescan.

Valid file extensions. Multiple extensions should be separated by the semicolon (;) character.

Default value: {empty}

Example value: dll

Valid file extensions.

Default value: {empty}

Example value: dll

ExcludeFile

Files with these file names are not considered in the filescan.

Valid file names.

Default value: {empty}

Example value: myfile.txt

Valid file names.

Default value: {empty}

Example value: myfile.txt

ExcludeFileSystemType

For UNIX-like devices, ExcludeFileSystemType allows for the exclusion of specific types of file systems that may otherwise be included. This is not applicable on Microsoft Windows.

Comma separated list of standard file system type names as recognized by the UNIX mount command. Either white spaces need to be omitted or the list needs to be enclosed in double quotation marks.

Default value: {empty}

Example value: zfs

Comma separated list of standard file system type names as recognized by the UNIX mount command. Either white spaces need to be omitted or the list needs to be enclosed in double quotation marks.

Default value: {empty}

Example value: zfs

ExcludeMD5

Files matching these MD5 checksums are not considered in the filescan.

Valid MD5 values. Multiple checksums should be separated by the semicolon (;) character.

Default value: {empty}

Example value: 7d9d2440656fdb3645f6734465678c6

Valid MD5 value.

Default value: {empty}

Example value: 7d9d2440656fdb3645f6734465678c6

ExpectHardware 

Used to set the Hardware property.

Boolean

Default value: True


ExpectSoftware

Used to set the Software property.

Boolean

Default value: True


ExpectTrackFilesInUserInventory 

Used to set the TrackFilesInUserInventory property.

Boolean

Default value: True


Full

Sets the type of the inventory.

Valid inventory type (Full or Difference).

Default value: Full


FullQualifiedDomainName

Overrides the FQDN that is taken for the inventory Scope value.

Valid FQDN.

Default value: $(MachineName).$(Domain)

Example value: Hostname1.domain.com


GenerateMD5

Generate an MD5 checksum for every file being tracked.

Boolean

Default value: False

Boolean

Default value: False

Generation

Sets generation counter to provided value.

Integer between 1 and GenerationMax.

Default value: {empty}


GenerationMax

The number of differential inventories performed between full inventories.

Integer between 1 and 1,000,000,000

Default value: 9


Hardware

Determines whether to track hardware (in the machine context).

Boolean

Default value: True


HyperV 

Not used yet.

Boolean

Default value: True


IncludeDirectory

Files from these directories are considered in the filescan.

Any valid folder path. Multiple paths should be separated by the semicolon (;) character.

Default value: {empty}

Example value: C:\Temp

Valid folder

Default value: {empty}

Example value: C:\Temp

IncludeExecutables

Determines which files the filescan considers executables.

If set to false, only .exe files are considered.

If set to true, on unixoid platforms files with no filename extension and an executable bit set (in any local, group, or universal scope in the file permission bits) are considered as well.

Boolean

Default value: True


IncludeExtension

Files with these extensions are considered in the filescan.

Valid file extensions. Multiple extensions should be separated by the semicolon (;) character.

Default value: exe; dll

Any file extension

Default value: exe; dll

IncludeFile

Files with these file names are considered in the filescan.

Valid file names. Multiple file names should be separated by the semicolon (;) character.

Default value: {empty}

Example value: xcopy.exe

Valid file

Default value: {empty}

Example value: xcopy.exe

IncludeFileSystemType

For UNIX like devices, IncludeFileSystemType allows for the inclusion of specific types of file systems that may otherwise be excluded. This is not applicable on Microsoft Windows.

Comma-separated list of standard file system type names, as recognized by the UNIX mount command. Either omit white space or enclose the list in double quotation marks.

Default value: There is no default value in the Registry. If there is no value given, the default behavior is .ufs, .zfs, .lofs

Example value: ufs, lofs


IncludeMachineInventory

Specifies whether or not to conduct a computer inventory of hardware and all user packages.

Boolean

Default value: True (if running as LocalSystem or running a machine inventory -t Machine on the command line)


IncludeMD5

Files matching these MD5 checksums are considered in the filescan.

Multiple checksums should be separated by the semicolon (;) character.

Default value: {empty}

Example value: 7d9d2440656fdb3645f6734465678c60

Valid MD5 values

Default value: {empty}

Example value: 7d9d2440656fdb3645f6734465678c60

IncludeNetworkDrives

Specifies if network drives should be scanned by the filescan.

Boolean

Default value: False


IncludePermissionsMask

Files with these permissions are considered in the filescan.

An octal value in a format used for chmod

Default value: 0111

An octal value in a format used for chmod

Default value: 0111

IncludeRegistryKey

Registry keys or values to include in the inventory.

Valid registry key or value.

Default value: If no value is specified, the follwoing value will be used HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft

\Windows\CurrentVersion\Uninstall\


IncludeUserInventory

Specifies whether or not to conduct a user inventory.

Boolean

Default value: True (if running as user or running a user inventory -t User on the command line)


IncrementalDiff

When differential inventories are performed this determines what differences will be collected.

Boolean

Default value: False

Boolean

Default value: False

Inventory

Determines the file type of the UploadRule that is used.

One of the following:

Inventory

Log

PolicyComplianceLog

SMSStatusMessage

Default value: Inventory


InventoryDirectory 

Directory for saving the inventory file.

Valid location

Default value: {empty}

Example value: C:\Inventory


InventoryExtension

File extension for saving the inventory file.

Valid file extension

Default value: ndi


InventoryFile

File name of a local copy of the inventory file.

*.ndi

Default value: $(UserName) on $(MachineId).ndi

Example value: myComputer.ndi


InventoryScriptsDir

(Applies to Windows targets, only): If RunInventoryScripts is True, this specifies the location of scripts to be run after the inventory scanning completes.

Valid folder path

Default value: $(CommonAppDataFolder)\ManageSoft Corp\ManageSoft

Example value: C:\IT-Admin


InventoryType

Determines whether a machine-based or a user-based inventory scan should be performed.

Either User or Machine

Default value: User (unless the scan is permformed by LocalSystem in which case the default switches to Machine)


job

JobTag that is added to the beginning of the inventory file name.

String

Default value: {empty}

Example value: testPrefix


LibsmbiosCmdLine

Command or executable that is used to get certain system information (Dell system ID, service tag, product name, BIOS version, and system vendor).

Command

Default value: getSystemId.exe


LogMsgCatPath

Defines the log message catalog file to be used by the inventory scanner for logging.

File name

Default value: ndtmsg.cat


LowProfile 

When set to True, the inventory process runs with low CPU priority. For UNIX-like systems, this sets the nice level of the process to 10. On recent Windows platforms, it uses background processing mode (PROCESS_MODE_BACKGROUND_BEGIN). On legacy Windows platforms where this is not supported (such as Windows XP and earlier), it uses a priority of idle (IDLE_PRIORITY_CLASS).

 

When set to False, the inventory process runs with normal CPU priority.

Boolean

Default value: False


MachineId

The machine name that is used in the name of the inventory file.

String

Default value: $(MachineName)

Example value: MyMachine


MachineInventory

Static value that cannot be changed.

String

Default value: Machine


MachineInventoryDirectory

Location for computer inventories.

Valid location

Default value: $(CommonAppDataFolder)\ManageSoft Corp\ManageSoft\Tracker\Inventories


MachineName

Contains the name of the local machine. Unlike MachineId, this preference should not be changed.

String

Default value: $(MachineName)


MachineZeroTouchDirectory

In case of a remote call the location used for the machine inventories.

Valid location

Default value: $(CommonAppDataFolder)\ManageSoft Corp\ManageSoft\Tracker\ZeroTouch


ManageSoftPackages

Determines whether or not software inventory is collected for packages installed by RayManageSoft.

Boolean

Default value: True

Boolean

Default value: True

MinInventoryInterval

Specifies the minimum interval (in hours) between the collections of inventories.

Any non-negative integer

Default value: 0


MSI

Determines whether Microsoft Installer (MSI) packages are included in the inventory.

Boolean

Default value: True


MSIOpenProducts

Specify the MSI product codes which are to be inspected fully, which involves calculating the result of all applied transforms and patches before the retrieval of the UpgradeCode and PIDKEY properties.

Use asterisk (*) to include all products.

Valid product code values. Multiple values should be separated by the semicolon (;) character.

Default value: {empty}

Example value: {2E11EF4E-901F-4B2D-B68E-3DB2A566C857}


MSSQL

Enables tracking of Microsoft SQL Server information as part of the WMI scan.

Boolean

Default value: True


NetworkSense

Determines whether network speed checks are performed prior to attempting inventory file upload.

Boolean

Default value: False

Boolean

Default value: True

PackageDatabaseTypes

Package types that are tracked in the inventory. Possible values are IA, BEA, RPM, DPKG, OSX, SUNPKG, IPS, LPP, SDUX.

Valid package types separated by comma (,) character.

Default value: Dependent on the operating system

Example value: RPM, OSX


PkgCacheDirectory

Path from where cached NDP package files are read on a RayManageSoft agent device (on Windows).

Relevant when the ManageSoftPackages preferences is enabled.

 

Valid folder path

Default value: %ProgramFiles (x86)\ManageSoft\Launcher\PkgCache


PkgLiveDirectory

Path from where cached NDP package files are read on an RayManageSoft agent device (on Linux/Unix).

Relevant when the ManageSoftPackages preference is enabled.

Valid folder path

Default value: /var/tmp/managesoft/live


PlatformSpecificPackages

Specifies whether software inventory gathering should seek information about non-Windows, platform-specific packages (for example LPP, PKG, RPM, and SD-UX).

Boolean

Default value: True


PNP

Enables tracking of Plug and Play hardware in the inventory.

Boolean

Default value: False


ProgramFiles

Points to the Windows program files folder.

Valid folder path

Default value: "C:\Program Files"

Example value: "D:\Program Files"


ProgressDepth

The number of directory levels to search by the initialization to approximate the number of directories searched during tracking.

Integer between 1-10

Default value: 3


Recurse

Recurse controls whether the inventory agent drills down for inventory collection.

If set to True, the tracker includes folders beneath the top level folders specified by IncludeDirectory or EmbedFileContentDirectory.

If set to False, the tracker does not include folders beneath the top level folders. It only tracks files immediately within the folders specified by IncludeDirectory or EmbedFileContentDirectory.

Boolean

Default value: True


Remote

Determines if inventory scan is running locally or remotely

Boolean

Default value: True (when the process is running remotely)

False (when the process is running locally)

Boolean

Default value: False

RunInventoryScripts

(Used in conjunction with InventoryScriptsDir): Specifies whether or not to run inventory scripts after gathering inventory data.

Boolean

Default value: False


Security

Determines whether or not to perform security compliance checking.

Boolean

Default value: True


SecurityAnalysis

Defines the naming conventions for uploaded files containing security analysis details (SecurityAnalysisRule).

String

Default value: $(ServerLocation)/SecurityAnalysis/$(MachineId) at $(DateTime).msa


SecurityAnalysisFile 

Defines the naming conventions for local files containing security analysis details.

String

Default value: $(MachineId).msa


ShowIcon

Controls whether an icon is displayed in the system tray when an inventory scan is running (Windows only).

Boolean

Default value: False

Boolean

Default value: There is no default value in the Registry. If there is no value given, the default behavior is False.

Example value: True

SkipInventory 

Skips the inventory scan. Will be set to True if MinInventoryInterval is not yet reached.

Boolean

Default value: False


Software

Determines whether to track software (in the machine context).

Boolean

Default value: True


SMBIOSCmdLine

Command-line to run the smbios utility.

Any valid command line to execute smbios2.exe that results in output being written to stand output. This command line should include the /1 argument.

Default value: conspawn smbios2.exe /1 /G

Any valid command line to execute smbios2.exe that results in output being written to stand output. This command line should include the /1 argument.

Default value: conspawn smbios2.exe /1 /G

SwidTagExtension

File extension for files that are to be handled as Software-ID tags.

Valid file extension

Default value: swidtag


SysDirectory

Points to the Windows System folder.

Valid file directory path

Default value: The path to the system folder on the Windows operating system.

Example value: C:\Windows\System32


Title

Title of the inventory tracker window (when UserInteractionLevel is set to Full).

String

Default value: RayManageSoft


TLMAgentIniPath

The configuration file for the IBM ILMT standalone scanner.

 

This information is used to detect agents and report them in the inventory (in the MGS_ExternalAgent class).

Valid file path

Default value: /etc/tlmagent.ini (on Unix/Linux)

$(WindowsFolder)/itlm/tlmagent.ini (on Windows)


TLMStandaloneIniPath

The configuration file for the IMB ILMT standalone scanner.

 

This transformation is used to detect agents and report them in the inventory (in the MGS_ExternalAgent Class).

Valid file path

Default value: /etc/tlmstandalone.ini (on Unix/Linux)

$(WindowsFolder)/itlm/tlmstandalone.ini (on Windows)


TrackFilesInUserInventory

This setting controls whether file evidence data is collected for user inventories. By default, file evidence cannot be directly linked to particular users.

If set to True, file evidence for user inventories will be collected.

Boolean

Default value: False


TrackProductKey

Determines whether to report product keys from the Microsoft Installer (MSI) packages as part of the software inventory.

Boolean

Default value: True


Upload

When set to True, the inventory and security analysis files are immediately uploaded to the reporting location.

When set to False, the inventory and security analysis files are not uploaded.

Boolean

Default value: True


UploadFile

File name of the uploaded copy of the inventory file.

*.ndi

Default value: Same as InventoryFile

Example value: myComputer.ndi


UploadLocation

The URL of the reporting location to upload to (for example http://myrvserver/ManageSoftRL/). The file will be uploaded to http://myrvserver/ManageSoftRL/inventories.

Supported protocols are http, https, ftp, and file.

Valid upload location

Default value: {empty}


UploadRule

Determines the file type to upload.

One of the following:

Inventory

Log

PolicyComplianceLog

SMSStatusMessage

Default value: Inventory


UploadUser

Provides the username of the account required to access the location to which files are to be uploaded.

Valid username

Default value: {empty}

Example value: Joe


UploadPassword

Provides the password of the specified UploadUser.

Valid username

Default value: {empty}

Example value: Password321


UploadProxy

Provides the name of the proxy server required for UploadLocation.

Specifying direct tells the uploader to try to directly access the URL if the connection attempts through the proxy server fail.

The name and port number of a proxy server in the format:

Socks:serverName:portNumber,direct

Default value: {empty}

Example value: Socks:proxyServer:3128,direct


UploadRetries

Determines how often the agent retries to upload a file in case of failure.

Numerical value between 0 and 1,000,000

Default value: 0


UploadType

Determines whether the upload agent uploads machine generated files or user generated files. For example, machine inventory, user inventory, all user installation logs, or current user installation logs. This is a functionality of the upload library that NDTRACK itself does not use but is relevant if it is used as part of the RMS / RV managed device agent.

Machine (if running as the SYSTEM user)

User (if running as any other user)


UserHardware

Determines whether to track hardware (in the user context).

Boolean

Default value: False


UserId

Name of the user that is used in the name of the inventory file.

String

Default value: $(UserName)

Example value: MyUser


UserInteractionLevel

Determines the level of user interaction.

Full

Auto

Quiet

Status

Default value: Status


UserInventory

Static value that cannot be changed.

String

Default value: User


UserInventoryDirectory

Location for user inventories on the managed device.

A valid location

Default value: $(AppDataFolder)\ManageSoft Corp\ManageSoft\Tracker\Inventories


UserName

Contains the name of the local user. Unlike UserId, this preference should not be changed.

String

Default value: $(UserName)


UserZeroTouchDirectory

Specifies the directory where the user inventory files are written temporarily during a remote execution inventory gathering process. If the upload (called as part of the inventory scanning process) proceeds normally, each temporary file is cleaned up after upload.

Valid location

Default value: $(AppDataFolder)\ManageSoft Corp\ManageSoft\Tracker\ZeroTouch


Version

Contains the version number of ndtrack.

String

Default value: {ndtrack version number}


VersionInfo

Determines whether the file version header information is included in inventory or not.

Boolean

Default value: True


WinDirectory

Points to the Windows folder.

Valid directory path

Default value: C:\Windows


WMI

When set to True, the Windows Management Instrumentation (WMI) tracking is specified as the preferred option for tracking hardware. In this case, if WMI is not available (and the Hardware preference is set to True), the tracker (ndtrack executable) attempts to track hardware using a native API.

 

When set to False, the tracker uses another tracking mechanism instead of WMI.

Boolean

Default value:

True (when running in machine context)

False (when running in user context)

Boolean

Default value:

True (when running in machine context)

False (when running in user context)

WMIConfigFile

Defines the location of the Windows Management Instrumentation (WMI) configuration file, used to inform the tracker (ndtrack executable) what hardware components it should track. This is only used if WMI is True.

Valid file path

Default value: $(ProgramPath)\wmitrack.ini


 

The files ndtrack.sh and ndtrack.ini must reside in the current directory or working directory. Otherwise, NDTRACK will not scan the hardware.

 

 

tip

Tip:

The optional http-upload does a HTTP-PUT.

Instead of HTTP you may use FTP. Just change the protocol prefix from http to ftp.

If you do not upload to a RayVentory or RMS server then you must make sure that the upload endpoint's URL ends on /inventories. For example: The URL is http://myhost/Uploads/inventories and command-line argument is -o UploadLocation=http://myhost/Uploads/.

 

Examples (UNIX / Linux)

 

Create an inventory (Machine or 'everything' scope) and upload it to an RMS server. A copy will stay in the default inventory location /var/tmp/managesoft/tracker/inventories/:

 

./ndtrack.sh -t Machine -o UploadLocation=http://myRVserver/ManageSoftRL/

 

 

Create an inventory (Machine or 'everything' scope) and upload it to an RMS server by CURL. A copy will stay in the default inventory location /var/tmp/managesoft/tracker/inventories/:

 

./ndtrack.sh -t Machine -o UploadLocation=http://myRVserver/ManageSoftRL/ -o UploadCurl=True

 

 

Create an inventory (Machine or 'everything' scope) and upload it to an RMS server by CURL, providing a username and a password for the upload. A copy will stay in the default inventory location /var/tmp/managesoft/tracker/inventories/:

 

./ndtrack.sh -t Machine -o UploadLocation=http://myRVserver/ManageSoftRL/ -o UploadCurl=True -o UploadUser=myuser -o UploadPassword=mypassword

 

 

Create an inventory (Machine or 'everything' scope) and upload it to an RMS server by CURL using a username / password from the uploader credential store with a custom credential store key. A copy will stay in the default inventory location /var/tmp/managesoft/tracker/inventories/:

 

./ndtrack.sh -t Machine -o UploadLocation=http://myRVserver/ManageSoftRL/ -o UploadCurl=True -o UploadCredFile=/home/someuser/mycredentials.cred -o UploadCredFileKey=myCredentialStoreKey

 

 

Create an inventory (Machine or 'everything' scope) and store it in the directory /var/tmp/stuff (generating an uncompressed .ndi file and a compressed .ndi.gz file):

 

./ndtrack.sh -t Machine -o Upload=False -o MachineInventoryDirectory=/var/tmp/stuff -o InventoryDirectory=/var/tmp/stuff -o UploadDirectory=/var/tmp/stuff

 

 

Create an inventory and store it together with a compressed copy to the default location /var/tmp/managesoft/tracker/inventories/:

 

./ndtrack.sh -t Machine -o Upload=False

 

 

Create an inventory, upload it, and specify a CA-bundle or CA-cert file. Use this if HTTPS fails because openSSL is not able to get the issuer cert.

 

./ndtrack.sh -t Machine -o UploadLocation=https://myRVserver/ManageSoftRL/ -o SSLCACertificateFile='absolutePathToCAcert.pem'

 

 

Create an inventory, upload it, and disable the server / peer-certificate verification (issuer-cert and CRL check). Use this if HTTPS fails because server / peer-cert verification fails.

 

./ndtrack.sh -t Machine -o UploadLocation=https://myRVserver/ManageSoftRL/ -o CheckCertificateRevocation=false -o CheckServerCertificate=false

 

 

Create an inventory and store it to /home/user/inventory/linuxInventory.ndi without compression:

 

./ndtrack.sh -o  Upload=False -o InventoryDirectory=/home/user/inventory/ -o InventoryFile=linuxInventory.ndi -o Compress=False

 

 

Create an inventory (Machine or 'everything' scope) and upload it to an RMS server by CURL using a certificate (the client-certificate and client-key must be PEM format) for client authentication. A copy will stay in the default inventory location /var/tmp/managesoft/tracker/inventories/:

 

./ndtrack.sh -t Machine -o UploadLocation=http://myRVserver/ManageSoftRL/ -o UploadCurl=True -o UploadCurlCommand="curl --cert <client-certificate>:<optional passphrase> --key <client-key>"

 

Or with a certificate to check the server certificate:

 

./ndtrack.sh -t Machine -o UploadLocation=http://myRVserver/ManageSoftRL/ -o UploadCurl=True -o UploadCurlCommand="curl --cert <client-certificate>:<optional passphrase> --key <client-key> --cacert <certificate-authority-certificate>"

 

Or with a client certificate that combines public and private keys, specifying a certificate format:

 

./ndtrack.sh -t Machine -o UploadLocation=http://myRVserver/ManageSoftRL/ -o UploadCurl=True -o UploadCurlCommand="curl --cert-type <DER, PEM or ENG> --cert <client-certificate>:<optional passphrase>"

 

Or:

 

./ndtrack.sh -t Machine -o UploadLocation=https://myDS/ManageSoftRL/ -o UploadCurl=True -o UploadCurlCommand="curl --cert /home/myUser/Desktop/Certificates/myServerAuthPrivateKey.pem -v"

 

Or:

 

./ndtrack.sh -t Machine -o UploadLocation=https://myDS/ManageSoftRL/ -o UploadCurl=True -o UploadCurlCommand="curl --cert /home/<User>/<path>/<clientCert>.pem -v"

 

Examples (Windows)

Create an inventory and store it to %temp%\inventory\WindowsInventory.ndi:

 

ndtrack.exe -o  Upload=False -o InventoryDirectory=%temp%\inventory -o InventoryFile=WindowsInventory.ndi -o Compress=False

 

Ports in Use

80 (443) for uploads of the inventory to an inventory data sink via HTTP(S).

445 for uploads of the inventory to an inventory data sink via SMB.

20/21 for uploads of the inventory to an inventory data sink via FTP.