dan_19334
Jan 19, 2010Nimbostratus
ECV-Determine Pool Member Status
Hi, is there a good way to determine nodes that are available and not disabled from the command line? I am writing a custom monitor script and it seems I have to check two places to ensure that a Node is UP. Both a 'b pool show' and a 'tmsh show ltm pool members' requires me to parse multiple lines looking for both 'Availability' and 'State' to make sure the node is actually useable.
Status (from tmsh show pool)
Availability : available
State : enabled
Ideally I just want to know if our pool is at quorum, where say at least 4 out of 10 members are up (and not disabled). Sounds easy, but to me to do this requires a lot of parsing of the bigip tools output.
Thanks,
-Dan