Forum Discussion

Yevgeny_Libov's avatar
Yevgeny_Libov
Icon for Nimbostratus rankNimbostratus
Nov 04, 2019

How to get traffic throughput per second for a POOL in iRule

Hello guys,

 

I'm looking for a way to sample traffic going through two pools, aggregate it and check if the result is lower than a certain numeric number in Byte/Kbyte/Mbyte.

 

Basically, I'm looking for a syntax representation of the first line at the following syntax:

 

"If traffic (pool POOL1 + pool POOL2) < 900MB"

if { [class match [ip::client_addr] equals YOUTUBE] }

pool POOL1

 

Thanks,

Yevgeny