Watch LTM Pools
Problem this snippet solves: Here's a way to monitor your current pools using a custom tmsh script. Code : cli script watch_pools.tcl {
proc get_stats { resultsArray } {
upvar $resultsArray ...
Published Mar 10, 2015
Version 1.0CodeCentral_194
Cirrus
Joined May 05, 2019
CodeCentral_194
Cirrus
Joined May 05, 2019
Distance_Vector
Sep 18, 2017Nimbostratus
Does not compile.
First, all '' must be _.
And then there's:
/Common/pool-stats:43: warning: [use curly braces to avoid double substitution][$interval] /Common/pool-stats:71: warning: [use curly braces to avoid double substitution][([lindex $s2 $idx]]
01070712:3: /Common/pool-stats:54: error: [wrong args][string length [array names r2 -exact $pool]]