LTM Pool Status
Problem this snippet solves: Here's a way to display the status of your pool members using a custom tmsh script. Code : create script pool-status.tcl {
proc script::run {} {
set pool_names "...
Published Mar 10, 2015
Version 1.0CodeCentral_194
Cirrus
Joined May 05, 2019
CodeCentral_194
Cirrus
Joined May 05, 2019
Darius1_341345
Feb 17, 2018Nimbostratus
I finally got this working.
In addition to replacing the '' with underscore (i.e.
get''field''value
becomes get_field_value
), delete "pool-member" on lines 15 and 16 and enclose in quotes.
(i.e.) Change
pool-member.status.availability-state
to "status.availability-state"
and
pool-member.status.enabled-state
to "status.enabled-state"