
Community Manager (Flexera Software) asked a question.
Correct MAC settings for agent scan
I'm trying to get a MAC agent to scan for the Soundtoys plugins. Evidence is in the .vst or .component files being present. Ive tried the agent settings below but no joy. Did I miss something obvious?
<Path recursive="true" unconditionally="false">/Applications/*</Path>
<Path recursive="true" unconditionally="false">/Library/Audio/Plug-ins/*.component</Path>
<Path recursive="true" unconditionally="false">/Library/Audio/Plug-ins/*.vst</Path>
<Path recursive="true" unconditionally="false">~/Library/Audio/Plug-ins/*.component</Path>
<Path recursive="true" unconditionally="false">~/Library/Audio/Plug-ins/*.vst</Path>
There is a filtering option between Inventory and SLM.
Is it where your file gets left behind?
Check in the SLM SMACC Basic Settings, the one called INV_FILE_FILTER
I'm not seeing the files in inventory either - its almost as though the scan never went into those folders
I'm wondering if I need to only have the folders and then add the file types further down in the config?
like this...
<Path recursive="true" unconditionally="false">/Applications/*</Path>
<Path recursive="true" unconditionally="false">/Library/Audio/Plug-ins/*</Path>
<Path recursive="true" unconditionally="false">/Library/Audio/Plug-ins/*</Path>
<Path recursive="true" unconditionally="false">~/Library/Audio/Plug-ins/*</Path>
<Path recursive="true" unconditionally="false">~/Library/Audio/Plug-ins/*</Path>
<IncludeCriteria>
<FileType>exe</FileType>
<FileType>wfd</FileType>
<FileType>wfi</FileType>
<FileType>wtd</FileType>
<FileType>wti</FileType>
<FileType>sys2</FileType>
<FileType>lnk</FileType>
<FileType>vst</FileType>
<FileType>config</FileType>
</IncludeCriteria>
Hi,
to my understanding, FileType is not the same thing as file extension. According to several document I read, you can exclude file extension in section:
<Software>
<Exclude>
<Path>...</Path>
for instance:
<Exclude>
<Path>*.vst</Path>
For FileType, documentation says:
"If software is to be included it must match one of the file types specified.
Uses wildcard matching.
Example for Linux, OSX & Unix systems: ELF*executable* Example for Windows systems: sys2."
I do not know for MACOS, but in Linux/Unix word one can use a command like /usr/bin/file <your sample file> on the host where your agent is installed to find the corresponding file type
For instance:
$ /usr/bin/file vi
vi: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs) ...
Hope it helps.
Christophe
It would seem that the 'Dynamic Inventory' feature can do this - the agent config for MAC wont help....