Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Alternative ways to check license usage

Solved1.38K views8th July 2021license
3
Bing Herng Chong [SLC] [DevOps Advocate]1.06K 5th July 2021 0 Comments

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)

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 8th July 2021

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Miguel Obregon [SLC] [DevOps Catalyst]18.99K Posted 5th July 2021 2 Comments

Hi Bing,

Another alternative is using the method GetDataMinerAgentsLicenseInfo from the DataMiner Web Services API. You can find more information in the DataMiner Web Service API Reference.

The response of this call will return the license information for each of the DMAs in the DMS.

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 8th July 2021
Bing Herng Chong [SLC] [DevOps Advocate] commented 6th July 2021

Miguel, I notice that I need to call ConnectApp method first to obtain a GUID. When calling the ConnectApp, there is this field called clientAppName. I noticed from Dataminer Help that the clientAppName is no longer required from from DataMiner 9.6.0 CU19/10.0.0 CU7/10.0.12 onwards. However when testing out ConnectApp, I noticed that the the SOAP endpoint still requires a value for clientAppName. And entering a random string like ‘a’ seems to satisfy the endpoint.

Can anyone shed some light on whether DataMiner 9.6.0 CU19/10.0.0 CU7/10.0.12 onwards still processes the clientAppName field?

Miguel Obregon [SLC] [DevOps Catalyst] commented 6th July 2021

Hi Bing,
As you already mentioned, the attribute clientAppName is no longer required. Indeed, I could also notice that you still need to set a value for this attribute, however the API only verifies that this attribute is not empty.
For testing purposes you could you any value in this attribute. However; if you plan to use the web API in an external application, I believe it will be a good idea to use a proper name that could identify this external application.

5
Gellynck Jens [SLC]2.71K Posted 5th July 2021 2 Comments

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:

Gellynck Jens [SLC] Posted new comment 6th July 2021
Bing Herng Chong [SLC] [DevOps Advocate] commented 6th July 2021

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?

Gellynck Jens [SLC] commented 6th July 2021

Yes for security reasons any API call will require you to log in to the system

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs