Summary
Application usage that is metered on a computer after the last MMI file containing usage data is generated by the agent in that week may be incorrectly reported as occurring in a subsequent week.
Details
Application usage details are aggregated and reported on a weekly basis (with each week considered to start on a Monday). The usage component in the FlexNet inventory agent reports usage as occurring in the week that the MMI file containing usage data was generated. If the week in which the MMI file is generated is different from the week when the usage actually occurred, then the usage will be reported in the incorrect week.
Here is an example of how logging may appear in the usageagent.log file in this scenario. This example shows usage of VISIO.EXE being metered on August 4, 2023 (a Friday), with the next usage MMI file being generated on August 7, 2023 (a Monday).
[8/4/2023 8:01:59 PM (G, 0)] {6752} Session logging: KNOWN PRODUCT Session end (Path: C:\Program Files (x86)\Microsoft Office\root\Office16\VISIO.EXE, Product: , Product version: , Run time: 22333.000000000 seconds) Session was added to cache.
[...]
[8/4/2023 8:02:00 PM (G, 0)] {6752} Backing up the session cache to 'C:\ProgramData\ManageSoft Corp\ManageSoft\Usage Agent\UsageData\sessioncache.ssc'
[8/4/2023 8:02:00 PM (G, 0)] {6752} Next session backup in 2584.000000000 seconds (from SessionBackupPeriod preference)
[8/4/2023 8:02:00 PM (G, 0)] {6752} Usage agent finished
[8/4/2023 8:02:00 PM (G, 0)] {6752} Program exited successfully
[...]
[8/7/2023 5:27:06 PM (G, 0)] {2072} Finished reading the session cache, sessions summarized to file C:\ProgramData\ManageSoft Corp\ManageSoft\Usage Agent\UsageData\winws2674 at 20230807T172705.mmi
The content of the usage MMI file shows the usage occurred in the week with a STARTDATE of August 7, despite the actual usage occurring several days prior:
[...] <USAGE USER="vivek" DOMAIN="ACME" TYPE="WeeklySummary" STARTDATE="20230807T000000" GUID=""> <APPUSAGE NAME="" VERSION="" FILENAME="VISIO.EXE" FILECOMPANY="Microsoft Corporation" FILEDESCRIPTION="Microsoft Visio" FILEPRODUCTNAME="Microsoft Office" FILEPRODUCTVERSION="16.0.10401.20018" FILEVERSION="16.0.10401.20018" LONG_FILENAME="C:\Program Files (x86)\Microsoft Office\root\Office16\VISIO.EXE" TOTALRUNTIME="28429" TOTALACTIVE="0" SESSIONS="1" DAYS="1"/> [...]
Reproduction steps
- Ensure the FlexNet inventory agent usage component is configured to meter usage on a computer, and execute an application for which usage is metered.
- Before the usage component next generates a usage MMI file, turn off or suspend the computer. (The usage component normally generates usage MMI files every 8 hours with default configuration settings.)
- Do not turn on the computer until (at least) the following Monday. Once Monday has come, turn on the computer.
- Wait for the usage component to generate and upload a usage MMI file.
The usage that was metered is reported in the MMI file (and subsequently in the web UI and reports) as occurring in the week the usage MMI file was generated, not the week the usage actually occurred.
Related Articles
Usage .mmi files may fail to import if any software names end with a digit or special character and contain a "\" after th… 4Number of Views When Processing a Capability Response from the Back Office, FLXERR_RESPONSE_STALE Error is Returned 34Number of Views Weekly discovery & remote execution rules may be scheduled to start 1 week later than expected 4Number of Views Usage files may not be generated and uploaded from Windows computers which are not turned on for at least 24 hours 4Number of Views ndtrack.exe does not generate .ndi file in the specified foleder when it is specified as '-o MachineZeroTouchDirectory="C:\"' 12Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago