For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

zhangyj_200838's avatar
zhangyj_200838
Icon for Nimbostratus rankNimbostratus
Jul 08, 2016

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 0

where can I get it?

1 Reply

  • JG's avatar
    JG
    Icon for Cumulonimbus rankCumulonimbus

    Try:

    curl -k -u admin:admin -X GET "https://mgmt_addr/mgmt/tm/ltm/virtual/~Common~my_virtual_server/stats"

    .