Diagnosing Writers for Your Adapter

FlexNet Manager Suite 2022 R2 (On-Premises)
Because your adapter runs on your central compliance server, you can inspect the database directly to see the results of your inventory import. You can combine this with the other techniques described here.

The simplest way to validate that your data is being imported all the way into the operations database is to inspect the results in the web interface.

To diagnose writers for your adapter:

  1. To ensure that the uploaded data is processed from the staging tables into the operations database, do either of the following:
    • Wait until the next scheduled inventory import. By default, the inventory import and recalculation is triggered overnight.
    • Trigger an inventory import/recalculation now. Be aware that this processes all current data, and is not restricted to your new inventory import. As a result, it may take some time (hours, for a large computer estate). Use the following steps:
    1. In your compliance browser, navigate to the Reconcile page (License Compliance > Reconcile).
      Restriction: You must be in a role with administrator rights to be able to include your new inventory import in the reconciliation you run manually.
    2. Select the Update inventory for reconciliation check box.
      This setting ensures that uploaded content is incorporated into the operations database and used for the compliance recalculation. Wait for the import and reconciliation to succeed (monitor the Last successful reconcile display on the right of the title bar, refreshing your browser page as necessary).
  2. When the reconciliation is complete, examine your imported information, for example in the following locations:
    • The Discovery & Inventory > All Inventory page (in the Inventory group) shows you all the computers that are being imported, as well as the hardware properties that you have set (remember to check the column chooser). Consider filtering by Created date to isolate your new imports.
    • The Enterprise > All Users page shows all the users you have imported and the attributes that have been set.
    • The License Compliance > All Evidence page has separate tabs to show the installation evidence, file evidence, and access evidence (for application virtualization) that was imported.
    • The License Compliance > All Applications page shows all the application installations identified as a result of the evidence import. If your inventory revealed an application for the first time, check for a status of Unmanaged.
      Note: If imported evidence did not match any existing application rules, the application does not show in any application list. It will appear only when the Application Recognition Library is updated with new rules incorporating your new evidence.
    • Usage data is not easily visible in the user interface (usage displays on licenses, but for this validation you need to see it on applications as well). The following query shows the applications on computers that have usage data recorded:
      SELECT st.FullName AS [Application Name],
                              c.ComputerName, 
                              d.QualifiedName AS UserDomain, 
                              u.SAMAccountName,
                              usage.UsageSessions, 
                              usage.UsageActiveTime, 
                              usage.LastUsedDate 
                              FROM  dbo.InstalledSoftware 
                              AS isw 
                              JOIN dbo.InstalledSoftwareUsage AS usage 
                              ON usage.ComplianceComputerID = isw.ComplianceComputerID AND usage.SoftwareTitleID = isw.SoftwareTitleID 
                              JOIN dbo.SoftwareTitle AS st 
                              ON st.SoftwareTitleID = isw.SoftwareTitleID 
                              JOIN dbo.ComplianceComputer AS c 
                              ON c.ComplianceComputerID = isw.ComplianceComputerID 
                              LEFT OUTER JOIN dbo.ComplianceUser AS u 
                              ON u.ComplianceUserID = usage.ComplianceUserID 
                              LEFT OUTER JOIN dbo.ComplianceDomain AS d 
                              ON u.ComplianceDomainID = d.ComplianceDomainID

FlexNet Manager Suite (On-Premises)

2022 R2