The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.
FNMS 2018 R1
We have a requirement to just import Windows server OS inventory devices into FNMS. Is there a way to update SCCM import procedure to just import windows server devices and NOT other windows devices?
Thanks
‎Apr 12, 2019 04:49 PM
Hi Craig,
You will need to apply some changes to the SMS (SCCM) reader. Having a backup or creating a copy and renaming it (e.g. "SMS_Server") to not mix it with the original adapter, might be useful here. Then open your copy of the reader using the Inventory Adapter Studio.
There is one central import step you need to look for. It is called "BuildRelevantComputerList". All filters applied here, will define what computers and related objects are imported. Just go for the WHERE statements and add your filters as needed. You might want to join additional tables/views, if the needed info is not contained in the statement yet.
To be completely correct, you will need to apply similar settings to "GetDeletedComputerList" as well. So that machines, not matching your filter, will be properly removed during the reader run.
Best regards,
Markward
‎Apr 15, 2019 04:02 AM
Hi Craig,
You will need to apply some changes to the SMS (SCCM) reader. Having a backup or creating a copy and renaming it (e.g. "SMS_Server") to not mix it with the original adapter, might be useful here. Then open your copy of the reader using the Inventory Adapter Studio.
There is one central import step you need to look for. It is called "BuildRelevantComputerList". All filters applied here, will define what computers and related objects are imported. Just go for the WHERE statements and add your filters as needed. You might want to join additional tables/views, if the needed info is not contained in the statement yet.
To be completely correct, you will need to apply similar settings to "GetDeletedComputerList" as well. So that machines, not matching your filter, will be properly removed during the reader run.
Best regards,
Markward
‎Apr 15, 2019 04:02 AM
‎Apr 15, 2019 08:33 AM
Thanks für pointing that out. In the case of FNMS Cloud, a local staging database can be used to stage only wanted machines and then run the inventory reader on this filtered subset of data.
‎Apr 15, 2019 12:55 PM
This method could work but that local stage must match the schema of SCCM exactly still.
‎Apr 15, 2019 12:56 PM
‎Apr 15, 2019 01:06 PM
What I normally do is actually do a backup and restore of the actual SCCM database then have a script that removes the unwanted machines from the database. It is not a fun solution but it works.
‎Apr 15, 2019 01:08 PM
If you take the approach of duplicating the source SCCM database and then modifying the source data before it is imported into FlexNet, the following query can be used as a starting point for how to mark records in the System_DISC table so they do not get imported:
UPDATE System_DISC
SET Obsolete0 = 1
WHERE ISNULL(Obsolete0, 0) = 0
AND <Insert whatever condition(s) you want here to identify computers that should not be imported into FlexNet>
‎Apr 22, 2019 06:54 AM
For Cloud customers, we normally recommend that a customer creates a business adapter to mark all non-servers as ignored to allow for no customizations to adapters.
‎Apr 15, 2019 12:53 PM