IncludeDirectory
Command line | Registry
IncludeDirectory
targets a specified folder for scanning for files to include in
inventory. If Recurse
is True
, then all subfolders are also
included. /bin
is a symbolic link to
/usr/bin
. On such a system, if you specified
IncludeDirectory=/bin
, no inventory would be collected, because the
symbolic link cannot be followed. Changing the preference on such a system to
IncludeDirectory=/usr/bin
solves the problem, since there is now no
intermediate symbolic link. On UNIX-like systems, check for symbolic links with the
ls -l
command./
" scans the entire file system. For
Microsoft Windows platforms, when the value of this entry is set to "\
", it
means "include all drives", with the exception of $(WindowsFolder) and
its subfolders. (To change this default exclusion, see ExcludeDirectory.) Notice that "include all drives" means all fixed drives and all local drives (such
as USB sticks or USB-connected external drives), but does not include network
shares.IncludeDirectory
sets the folder(s) that
the FlexNet Inventory Agent is to scan for software inventory, and in particular for file
evidence. However, this setting does not control scanning for Oracle Fusion
Middleware (for which see PerformOracleFMWScan). As required by
Oracle, a scan for Oracle Fusion Middleware must cover the entire file system; but scanning
is optimized so that each folder is scanned only once. There are two possible outputs from
this scan:- For folders declared within
IncludeDirectory
, standard file evidence is uploaded (as always) - For folders where Oracle Fusion Middleware is discovered, the specific data required by Oracle is structured, zipped into an archive, and included as a blob of binary data in the uploaded .ndi file.
IncludeDirectory
can accept
multiple values, separated by commas or semi-colons. ExcludeDirectory
and IncludeDirectory
preferences, it is excluded. Exclusions (of the same thing) always override inclusions. - File extension
- File name
- MD5 value.
exe
is included, filename
xcopy.exe
excluded, and MD5 value 123456...
(the MD5 for
xcopy.exe
) is included, then the inventory agent includes all files with
extension exe
except for all versions of xcopy.exe
that do
not have an MD5 value 123456...
.IncludeDirectory
IncludeNetworkDrives
IncludeFileSystemType
andExcludeFileSystemType
(on UNIX-like systems only).
IncludeDirectory
has lowest priority, and priority increases
down the list. This means that, on UNIX-like systems, IncludeFileSystemType
(the highest priority) can be an exception to the general rule that "exclude overrides
include". The following table illustrates cases where the other settings may over-ride the
IncludeDirectory
preference, where that specifies a network drive. The
first three cases fit the general rule, but the fourth is a special case:...FileSystemType | IncludeNetworkDrives | IncludeDirectory | Result |
---|---|---|---|
Not specified (including Microsoft Windows) |
|
A network share (or subdirectory thereof) on any file system type. |
No inventory returned. |
Not specified (including Microsoft Windows) |
|
A network share (or subdirectory thereof) on any file system type. |
Software inventory from the specified directory. |
|
Either |
A network share (or subdirectory thereof) on file system type
XXX (here, the setting is over-ridden by the exclude). |
No inventory returned. |
IncludeFileSystemType=XXX |
Either |
A network share (or subdirectory thereof) on file system type
XXX . |
Software inventory from the specified directory. |
IncludeDirectory
is not the only preference
that causes folders to be scanned. See also EmbedFileContentDirectory.Values
Values / range |
Valid folder(s) |
Default value |
Different defaults for different cases:
|
Example value |
|
Command line
Tool |
Inventory component (ndtrack) |
Example |
|
Registry
Installed by |
Installation of FlexNet Inventory Agent on a managed device (computer preference), or manual configuration |
Computer preference |
|
IT Asset Management (Cloud)
Current