Hi,
we want to inventory network shares for some non-Windows devices and used our mgsconfig tool to get the configuration included in the ini file. When we perform a scan everything works fine and much more information is getting collected, but after there is a policy update an important part of our configuration gets over-written and only the local drives are being inventoried again. We did the following:
1. update the ini file
[root@lnx2139 etc]# /opt/managesoft/bin/mgsconfig -i /tmp/update.ini
[root@lnx2139 etc]# cat config.ini | grep Include
IncludeNetworkDrives=True
IncludeDirectory=/
IncludeFileSystemType="ufs,zfs,lofs,nfs"
2. Scan the device and everything works fine
3. Perform a policy update
[root@lnx2139 etc]# /opt/managesoft/bin/mgspolicy -t Machine
4. Check the ini file was changed and the forward slash "/" is missing at the IncludeDirectory parameter
[root@lnx2139 etc]# cat config.ini | grep Include
IncludeNetworkDrives=True
IncludeDirectory=
IncludeFileSystemType="ufs,zfs,lofs,nfs"
[root@lnx2139 etc]#
[root@lnx2139 etc]#
5. Required information is not being collected anymore by the next inventory scan
Why does the policy update take away this information and what do we have to do to be able to collect information from network share for those devices permanently?
Thanks & best regards
Oliver
‎May 01, 2019 10:14 AM
The IncludeDirectory setting is configured through policy, so if you do make a local change as you tried here then the next policy update will override the local change as you have observed.
For devices which are configured to regularly apply policy, set the IncludeDirectory setting on the Discovery & Inventory > Settings page in the FlexNet UI:
‎May 01, 2019 09:25 PM