Current Request Count from iControl?

Hi all,

Our team is relatively new to F5 development, thanks in advance for your help.

We’ve found a way to retrieve current connection counts at the server and virtual server level from iControl, we are now looking for a way to retrieve current requests. There doesn’t appear to be a stat available for this via iControl. Are we missing it or must this be implemented via iRule?

Chris

For virtual servers, you should be able to use LocalLB.VirtualServer.get_statistics().

There should be a statistic called STATISTIC_TOTAL_REQUESTS (or something like that).

It’s a total, and not a rate or gauge, so you’ll need to collect the data over time and manipulate it accordingly.

Great, will give that a shot. Thanks!