Forum Discussion
API get Bandwidth and Disable authentication token generation
Hi,
I have a problem about API to get Bandwidth of Virtual Servers. I use this API: curl -k -u admin:admin -H "Content-type: application/json" -X POST -d "{\"command\":\"run\", \"utilCmdArgs\": \"-c 'tmsh show ltm virtual'\"}" Every thing is fine but when I get many times, I got problem:
Bad Gateway!The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET mgmt/tm/util/bash.
Reason: Error reading from remote server
Error 502
I have read articles that talk about a large number of iControl REST authentication token requests. https://support.f5.com/csp/article/K16751 But this step modify vcmp guest all capabilities add { stats-isolated-mode } I get error: Syntax Error: "stats-isolated-mode" identifier doesn't match to any of the following: appliance-mode
Have solution for this 2 issue ?
Thanks
- VuongLe76_31178
Nimbostratus
Anyone can help me ??
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