Forum Discussion
Get APM License Limits from REST API
I am trying to get the APM license limits for both access sessions and CCUs on my devices using the REST API. I am able to monitor the current values based on SNMP, but need the limit values to set thresholds in my monitoring system.
I've already done this via iControl using System::SystemInfo::get_product_information, but now want to set it up using the REST API for more portability.
Attempt 1: I have tried creating a rest URI based on the tmsh commands in SOL15032: Determining license limits of the BIG-IP APM system, but the detailed output does not contain the strings apm_access_sessions or apm_sessions.
URI:
/mgmt/tm/sys/license?ver=11.5.3&options=detail
Output (Sanitized):
{
"kind": "tm:sys:license:licensestats",
"selfLink": "https://localhost/mgmt/tm/sys/license?options=detail&ver=11.5.3",
"entries": {
"https://localhost/mgmt/tm/sys/license/0": {
"nestedStats": {
"entries": {
"applianceSerialNumber": {
"description": "blds"
},
"licensedOnDate": {
"description": "20//"
},
"licensedVersion": {
"description": "11.4.1"
},
"optionalModules": {
"description": "{ \"Acceleration Manager, C4800\" \"ADC, Security Bundle, C4800\" \"Advanced Protocols\" \"AFM, C4800\" \"APM, Max Access Sessions, C4800\" \"App Mode (TMSH Only, No Root/Bash)\" \"ASM, Bundle, C4800\" \"ASM, PSM to ASM Upgrade\" \"ASM, Unlimited, VIPRION\" \"Best Bundle, C4800 Platform\" \"Better Bundle, C4800 Platform\" \"Better to Best Bundle, C4800 Platform\" \"CGN, Viprion\" \"Compression, Unlimited, C4800\" \"Concurrent Users\" \"DNS and GTM (1K QPS), Viprion\" \"DNS and GTM (Unlimited), Viprion\" \"DNS Services, VPR\" \"External Interface and Network HSM\" \"FIX Low Latency\" \"GTM\" \"IPI Subscription, 1Yr, C4800\" \"IPI Subscription, 3Yr, C4800\" \"MSM, Unlimited Mailboxes\" \"PEM URL Filtering, Subscription, 1Yr, C4800\" \"PEM URL Filtering, Subscription, 3Yr, C4800\" \"PEM, C4800\" \"PEM, Quota Management, C4800\" \"Performance Extreme, VPR\" \"Routing Bundle\" \"SDN Services\" \"SSL, Forward Proxy\" \"SWG Subscription, 1Yr, C4800\" \"SWG Subscription, 3Yr, C4800\" \"URL Filtering Subscription, 1Yr, C4800\" \"URL Filtering Subscription, 3Yr, C4800\" \"VIPRION, Multicast Routing\" \"WBA, Bundle, C4800\" }"
},
"platformId": {
"description": "A108"
},
"registrationKey": {
"description": "----"
},
"serviceCheckDate": {
"description": "20//"
}
}
}
}
}
}
Attempt 2: I am trying to pull the bigip.license file via the REST API, but cannot find a URI to do so.
Attempt 3: Following Answer conncurrnet connection information LTMs which led me to Article Vérifier le nombre de CCU consommées sur APM, the variables exist as tmm.license.global_access and tmm.license.global_connectivity, but I could not find a way to grab them via the REST API.
1 Reply
- cmanjeshwar_225Historic F5 Account
Its available on version 12.0.0 onwards for APM using the following URI:
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com