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.
SOLUTIONS ARE PROVIDED ON AN "AS IS" BASIS. NEITHER FLEXERA NOR ITS SUPPLIERS MAKE ANY WARRANTIES, EXPRESS OR IMPLIED, STATUTORY OR OTHERWISE, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, TITLE, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. LICENSEE MAY HAVE OTHER STATUTORY RIGHTS. HOWEVER, TO THE FULL EXTENT PERMITTED BY LAW, THE DURATION OF STATUTORILY REQUIRED WARRANTIES, IF ANY, WILL BE LIMITED TO THE SHORTER OF (I) THE STATUTORILY REQUIRED PERIOD OR (II) THIRTY (30) DAYS FROM LICENSEE’S ACCEPTANCE OF THE AGREEMENT.
For some years now, FNMS provides the transparency on evidences in the evidence tab of the inventory device detail... devices are now listed in the evidences details... but understanding evidences with recognition across devices, or getting this transparency if you are in an old version can be useful.
Management of applications recognition is an advanced area that requires sometimes analysis and tracing back to objects that are not always visible in FNMP for performance reasons particularly
And WMI evidences (used to identify applications that have no reliable file or installer evidences (SQL Server (for Editions), Windows etc.).
Found evidences (Name: acrobat.exe, version: 10.0.0.396, Publisher: Adobe) will be mapped to ARL evidences (Name acrobat.exe, Version: 10.%, Publisher: Acrobat%). These file evidences are mapped to applications (A title, linked to Product, Version and Edition).
The challenge is that these mappings can be n to n, the sources for evidences can be multiple and overlapping, the evidences can be used for recognition of just to catch usage up to the application (“Not for recognition” for example on acrobat.exe that has no information of edition for instance).
The present view can be imported in FNMP custom views using SQL Server Management Studio with a Power User on the FNMP Database (that can create stored procedures and views records)
Three versions of the view exist
An initial check will be to make sure that no view or stored procedures already exist with the same name. I have prefixed the records with nr_Cust, which should decrease this risk.
You need to define what folders we want to see these view in. the “-17” folder being the root folder
Since the evidences tables can be huge (45 million records typically for the file evidences to a 30 000 devices implementation), this is key to filter the records loaded in the view to get acceptable performance. The view can be filtered with a “ComputerName|%EvdenceName%” using the search bar on the view.
This view looks up on all evidences on computers and uses a "Computer|Application" filter that you need to set in search box of this report. "|Visio.exe" will return all visio.exe evidences. "SRV01|" will return all evidences on SRV01'
The view contains the following:
You need to input in the view’s search bar the filter: here, computerName = LT-ITA-100117 and the searched evidence name is “acroba”.
The evidence search will perform a “ComputerNme = ’LT-ITA-100117’ AND EvidenceName like ‘%acroba%’
The created report is accessible from the root node of the report index. As this is a custom report not using the standard reporting objects, the report cannot be modified (it can be deleted)
The view will provide useful information: evidence name, evidence type, historical last used dates, mapped ARL evidences, mapped applications and type of mapping (could be not for recognition, required…)
Given the small number of WMI evidences and the link to application names that is not always obvious, the computer filer will show all WMI evidence. The evidence name filter will filter also WMI evidence (try with "SQL").
This view looks up on all matched ARL evidences on computers and uses a "Computer|EvidenceName" filter that you need to set in search box of this report. "|Visio.exe" will return all visio.exe evidences. "SRV01|" will return all evidences on SRV01. This report does not retrieve raw imported evidences and is adapter to checking remote application data
This view looks up on all evidences on computers and uses a "Publisher|EvidenceName" filter that you need to set in search box of this report. "|Visio" will return all evidences containing "Visio" . "Micros|" will return all evidences containing "Micros"
To create these views, run query below from the SQL Server Management Studio. (Please use the queries in embedded file).
Important: the view join the Inventory Manager database to catch the file path that is not imported into the SAM database (FNMSCompliance). You need to check the name of the Inventory Manager Database that could be IM or FNMSInventory and replace with the appropriate name in the section of the SQL code with the “be careful” comment
AND iie.ComplianceConnectionID = (SELECT ComplianceConnectionID FROM ComplianceConnection WHERE ConnectionTypeID = 1 AND PrimaryConnection = 1) -- Be careful to the IM db name here!
Variation: focus on ARL evidences (to address the need for remote evidences) collection (on Citrix, on raw evidence is collected for instance).
Variation 2: The “Installer Evidences on computers (NR)” shows only installer evidences and has an Publisher|EvidenceName filter
Starting with FNMS 2019R2, a new “Raw File Path” table has been created. There is no more normalization of the path and the report catches the real path for all inventory sources. No more need to check the Inventory Manager database name.
Jun 13, 2022 06:26 PM - edited Apr 21, 2023 11:30 AM
Version 19 includes Installer evidence information collected in the Inventory Manager that gives precious additional information (Installation location and installation package)
Hello @nrousseau1 , thank you for sharing this custom report. It helped us alot in performing remediations. However, we want your help to understand how we can fetch the location/path for installer evidence with type "Adobe". For these installer evidences, we are not able ot see any installatin location/path in this custom report. Is there any furhter enhanced version of this query which cna help us.
Thanks,
Awadh
Hello @avi0408 ,
The Adobe evidences that catch the activated editions check in the Registry fir users authenticated in the last 90 days the following keys:
Computer\HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\DC\AVEntitlement\iEntitlementLevel # ID the install:
Then, there is a correlation between this key and the "add/remove program" installer evidence (uninstall) that is named "Acrobat" from "Adobe") that unfortunately does not tell us if the is the Reader or Acrobat (eventually activated for any edition) to determine the version of Acrobat.
More information on
Best regards,
Nicolas
Hi @nrousseau1,
I have a customer that has expressed some interest in getting some of these reports into their web portal. I attempted to add these reports to my TEST environment before production deployment, and while the SQL query says it was executed successfully, I am not able to locate the reports in the portal. When running the following queries, I can see that the reports have entries into the SQL tables (as it threw an error warning during the ComplianceSchema_schemacheck.sql action during the database migration step of platform upgrade), as well as when they were added:
Query 1:
SELECT 'ComplianceSavedSearch ' + CAST(ComplianceSavedSearchID AS NVARCHAR) + ' (SearchNameResourceName ' + ISNULL(SearchNameResourceName, 'NULL') + ', SearchName ' + ISNULL(SearchName, 'NULL') + ') does not exist for all tenants' AS MigrationErrors FROM dbo.ComplianceSavedSearch_MT AS t1 CROSS APPLY (SELECT COUNT(*) AS ReportCount FROM dbo.ComplianceSavedSearch_MT AS t2 WHERE t2.ComplianceSavedSearchSystemID = t1.ComplianceSavedSearchSystemID) a WHERE t1.TenantID = 1 AND ReportCount <> (SELECT COUNT(*) FROM dbo.Tenant)
Query 2:
SELECT * from ComplianceSavedSearch_MT WHERE TenantID = 1 AND ComplianceSavedSearchSystemID IS NULL
Being that these are custom reports, I am unable to get much assistance from the support team and they have suggested reaching out this way. Thanks in advance!
Cheers,
Shawn
@sdbash - some input from @nrousseau1 from his vacation 😎:
For these reports to work on a multi-tenant FlexNet Manager Suite instance, you will need to modify the @TenantID parameter value that is used when calling the ComplianceCustomViewRegister stored procedure. Change the value from "1" as specified in the scripts in the attached Word document to the ID of the tenant you want to register the report for:
EXEC ComplianceCustomViewRegister
@TenantID = 1, -- <<<< change "1" to the tenant ID to register the report for
[...]
Hi @ChrisG and @nrousseau1,
Really appreciate the quick response! That update looks to have done the trick!
Cheers,
Shawn
Hello @pcsekar , are you not able to download the Word Document or not able to open the embedded word document that contains the code?
I just tried both successfully.
If this is the second issue, make sure you "enable content" when prompted (nice Microsoft security feature that sometimes causes issues), otherwise, you can't open an embedded document in the Word document.
Best regards,
Nicolas