Forum Discussion
MARTY1
Nimbostratus
Mar 18, 2020VPN Active session count for a partition via API & PHP
Hello,
I am looking for some example PHP code that will allow me to get the current number of active VPN sessions for a given partition. Does anyone have any code they can share with me to help out with this?
Thanks,
Marty
- PeteWhite
Employee
For the PHP side of this you could use my iCR class at https://devcentral.f5.com/s/articles/php-and-icontrol-rest
I suspect that you can retrieve session data from /mgmt/tm/apm/session so maybe you can try that out and let me know
- MARTY1
Nimbostratus
I will give that a try.
Thank you!
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects