Introduction #
Open iT supports FlexNet usage reporting by polling the license servers every hour using a 5-minute sample interval. If the license usage or license checkout duration will be within the 5 minute sample interval (license was checked-out and checked in before next polling) it will not be detected via polling and will not reflect on the License Monitor Portal.
We can use the data from the Flex log file to determine the License Usage even if it has a short license usage.
The following datatypes can be used to get the reports. Refer to each link for more info
Datatype 50: https://docs.openit.com/core_server/web_interface/data_types/level_1/#host-user-license-use-logfile-50
Datatype 51: https://docs.openit.com/core_server/web_interface/data_types/level_1/#total-license-use-logfile-51
Datatype 75: https://docs.openit.com/core_server/web_interface/data_types/level_1/#license-logfile-events-75
Requirements #
- Installed OpeniT Client on License Manager
- Configured Flex Log File Collection (Autoconfigured by default)
Additional Requirements for Datatype 50 and 51 to get the Max in Use and Elapsed Data #
- Modify flab.xml located at $Configuration/Components
- Locate Object count-zero-as-one and change value to count-one,e.g.
- <Object>
<Name>count-zero-as-one</Name>
<Description>How to handle usage lasting less than 1 second (0 seconds): empty value=ignore, ‘count-one’=count only 1 in use for 1 second, ‘count-all’=count all in use for 1 second</Description>
<Value type=”String”>count-one</Value>
</Object>
- <Object>
- Locate Object count-zero-as-one and change value to count-one,e.g.
- Restart Openit Service in Task Manager
- Go to $Data/Archive/Flexpoller and and remove the EVENTS-*.in.gz for the specific dates that you want to correct in the report.
- You can use this script in PowerShell to delete in multiple dates
- Get-ChildItem -path “<Flexpoller_directory/year/month/day>” -Include *<PRODUCT_NAME>-EVENT* -Recurse | Remove-Item
- You can use this script in PowerShell to delete in multiple dates
- Run the flab binary:
- C:\Program Files\OpeniT\Core\bin>openit_flab.exe -c “C:\Program Files OpeniT\Core\Configuration\flab.conf” <from date> <to date>
- Date format is yyyy-mm-dd
- Regenerate the datatype needed (50 or 51)
For assistance or further configuration support, please contact your Open iT support team.
For additional references, you may visit our Documentation page.