Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
12-07-2022 12:57 AM
Hi,
Can we get the license usage summary by application name using API?
I’ve tried the license usage with the license ID and account ID but getting the availability of the license as an output.
GET /controller/licensing/v1/usage/license/{licenseId}
(http://<host>:<port>/controller/licensing/v1/usage/license/{licenseId}
http://<host>:<port>/controller/licensing/v1/usage/account/{accountId})
These APIs are running well but not getting the output I’m looking for.
I’m looking for the usage, like how much of the license is consumed in real-time.
I appreciate any help you can provide.
Solved! Go to Solution.
12-07-2022 06:09 PM
Hi Pratik
Thanks for posting question to the community!
Plz refer to this API: https://docs.appdynamics.com/appd/22.x/latest/en/extend-appdynamics/appdynamics-apis/license-api#id-...
Hope this answer helps!
BR,
Xiangning
01-03-2023 03:35 AM
Hi,
I'm able to retrieve the data by application name using the code in this API: https://docs.appdynamics.com/appd/22.x/latest/en/extend-appdynamics/appdynamics-apis/license-api#id-...
But the fallbackLicenseUnit parameter in response is giving output as blank. No data is coming for the fallbackLicenseUnit.
Is there any way by which I can get the license consumption units in Infrastructure based Licensing?
01-09-2023 10:03 PM
Hi Pratik,
Are you using Infrastructure-based Licensing Packages?
If you are using Agent-based Licensing Packages, there is no API meeting your needs at the moment.
BTW, here is the documentation about Infrastructure-based Licensing Packages and Agent-based Licensing Packages: https://docs.appdynamics.com/appd/22.x/latest/en/appdynamics-licensing
Kind regards,
Xiangning
01-10-2023 01:43 PM - edited 01-10-2023 01:48 PM
Hey Pratik,
i've not found a way to do this through the API. but you can count the number of agents per application to give an insight into where the licenses may be being used
eg I do this in my my open source rapport application
Rapport is free and can be found at https://chickenkatsu.co.uk/apps/rapport/
Sunil
06-30-2023 11:34 AM
Is there a way to get this by querying the database on an on prem controller?
06-30-2023 07:10 PM
If you are talking about ABL, I'm afraid there is not.
However, you can contact Professional Services Team to use Caesar tool to achieve the goal.
> Using Caesar Tool we can generate license consumption report for the required account. We have jenkins job to get the report
> Caesar tool for on-prem controllers, owned by Professional Services Team
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form