Forum Discussion
Using iControl REST /mgmt/tm/ltm/virtual/ to collect virtual server traffic and cpu information
Hello,
I am trying to get the information of the virtual server(such as current connenctions,throughput and cpus utilization) from iControl REST /mgmt/tm/ltm/virtual,but it doesn't work.
I can collect these information from tmsh like below:
Traffic ClientSide Ephemeral General
Bits In 0 0 - Bits Out 0 0 - Packets In 0 0 - Packets Out 0 0 - Current Connections 0 0 - Maximum Connections 0 0 - Total Connections 0 0 - Min Conn Duration/msec - - 0 Max Conn Duration/msec - - 0 Mean Conn Duration/msec - - 0 Total Requests - - 0
CPU Usage Ratio (%)
Last 5 Seconds 0 Last 1 Minute 0 Last 5 Minutes 0where can I get it?
1 Reply
- JG
Cumulonimbus
Try:
curl -k -u admin:admin -X GET "https://mgmt_addr/mgmt/tm/ltm/virtual/~Common~my_virtual_server/stats".
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