Hi all, the one method I'm aware of to check license usage (Total elements) for a DMS (cluster of DMA) is to log into each DMA using Cube and navigate to the About page. This page will show the current 'Total elements' counter and the max licensed number.
Are there alternative methods to check license usage across a DMA cluster that does not required logging into each DMA via Cube? (e.g.: parsing a file or API calls)
To determine the maximum licensed count, you can send (from inside an automation script or protocol QAction) a GetInfoMessage with the type property set to 'InfoType.Licenses' and parse the string[] Licenses property. For example to find the maximum number of elements licensed, look for an entry starting with 'ELEMENTS':
To determine the license usage, you can send a SetDataMinerInfoMessage with the What property set to 353 (NotifyType.NT_GET_ACTIVATED_LICENSE_COUNTERS).
The SA property of the response message will contain the license usage (also prefixed by 'ELEMENTS'). For example:
Yes for security reasons any API call will require you to log in to the system
Thanks Jens for describing this alternative. Given that these method(s) are to be called from automation scripts and/or protocol, is it correct to say that that logging into each DMA via Cube will still be required to retrieve the license count using these methods?