Forum Discussion

bedec_8898's avatar
bedec_8898
Icon for Nimbostratus rankNimbostratus
Jul 16, 2013

Getting throughput count using PowerShell

Hi all

 

I'm looking for a way to get access to the throughput metric as displayed in the F5 Dashboard. I've been looking through the extensive statistics that are available using the Get-F5.iControl cmdlet but I'm honestly a little lost. I'm trying to correlate some information from various systems and just need to get some information from our F5 devices. I was hoping to build a script that displayed CPU%, MEM%, Total Connections and Throughput in a nice little table in the cmd window for a tech to run and get the current "utilisation" of a system.

 

Does anyone know if this is possible?

 

Thanks!

 

Bede

 

1 Reply

  • Are you looking for these metrics for the BIG-IP as a whole, or on a vip by vip basis? The System.Statistics interface has a whole bunch of methods for querying various types of statistics on a system level. LocalLB.VirtualServer.get_statistics() will allow you to query on a vip's particular values. I guess it depends on what you want.

     

    I'd dig through those in the APIs at:

     

    https://devcentral.f5.com/wiki/iControl.System__Statistics.ashx

     

    to see if you can find what you need. If you give me specific's, I can try to whip you up a powershell script to get you the results you are looking for.

     

    -Joe