Forum Discussion
REST API + BigIP APM + LTM
Hello, I am new to this programming feature in BigIP. I have installed APM + LTM for remote access. Can you please let me know what actions are possible through REST API or scripting and where are I can get the codelines.
Thanks Ranjit
3 Replies
- Kevin_Stewart
Employee
I think the best place to start would be the iControlREST wiki page.
https://devcentral.f5.com/wiki/iControlREST.HomePage.ashx
Take a look at the 101 sections, download the user guide, and test some of the codeshare examples. As for what it can do, very simply whatever you can do at the management command line with TMSH is what you can do with iControlREST, mostly anyway.
- Hamish
Cirrocumulus
That depends on what version of BigIP you're running. 11.4.1 has SOME info. 11.5.1 has a lot more. None of the versions seem to be able to do stats yet on sessions for APM... Sadly...
To discover the API's available, just access the URL's e.g.
curl -uadmin:admin -v https://you.ltm.ip/mgmt/tm/apmand
curl -uadmin:admin -v https://you.ltm.ip/mgmt/tm/ltm(In theory accessing /mgmt/tm is supposed to give you a list of modules you can query. but I've not managed to get that to do anything on either 11.5.1 or 11.4.1
H
- James_124570
Nimbostratus
I had to run this: curl -k -uadmin:admin -v
The -k helped since I didnt have a SSL Cert attached to the F5 device yet.
I got a message, but I am trying to sort through it.
Thanks!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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