We recently update our license server from version 3 to 5.1.2. We used to have the ability to extract the license usage using /jsonstatus on version 3, and use the data for Grafana dashboard. Is there a way to do it for the latest license server 5.1.2?
Announcement
Collapse
No announcement yet.
How to extract license usage information from license server 5.1.2?
Collapse
X
-
You can use:
http://IP_ADDRESS:30304/sessions/dongle - for dongle licenses
http://IP_ADDRESS:30304/sessions/online - for online obtainable licensesIvan Slavchev
SysOps
Chaos Group
- Likes 1
-
Thank you Ivan!
Is it possible to query the total license available online? The dashboard we use have use and total metric. The information given from the http://ip_address:30304/sessions/online only have usage information.
Comment
-
How do I query the availability of licenses when I have borrowed licenses? When they were all online I could see who was using then via http://IP_ADDRESS:30304/sessions/online, but now that they are borrowed I get a vast emptiness. I trued http://IP_ADDRESS:30304/sessions/offline and get a 404 error. Is there a URL that allows me to query the usage of borrowed licenses?
p.s. we are running v5.5.0 of the chaosgroup license server software.
Thanks.Last edited by vanpixelguy; 14-09-2020, 06:01 PM.
Comment
-
Hi Nikolay. Thank you for the quick reply.
What we are trying to do is update the resource counter within our farm management package to match the actual use count of V-Ray licenses. Although the resource count method is generally accurate, if artists launch a V-Ray render locally, this does check out a license but the result does not get counted in the farm's resource counter.
What we used to do, when all the licenses were online, was to query the licenses in use every say 15 minutes, then update the farm resource.However, because we were obtaining a large number of license failures due to "Could not obtain a license: Slow connection to the ChaosGroup License Server" error, we needed to borrow all our licenses to bring them locally. However, after doing that there is no way to programmatically determine the license count.
Could you please add an engineering request to add a mechanism to determine the usage of borrowed licenses that is similar to the http://IP_ADDRESS:30304/sessions/online mechanism?
Thanks.
Comment
Comment