Forum Discussion
Mar 31, 2015
Hi John,
was a bit in a hurry and overlooked 2nd part of your question. It´s a bit TMOS version dependent and I would recommend to use the output the the "show" command instead.TMOS v11 example:
tmsh -q -c 'cd /;show ltm pool recursive members' | grep -iE '(ltm::pool|current active|(monitor|session) status)'
Ltm::Pool: Common/iapp_web.app/iapp_web_pool
Current Active Members : 2
| Ltm::Pool Member: Common/10.131.131.105:80
| Monitor Status : up
| Session Status : enabled
| Ltm::Pool Member: Common/10.131.131.106:80
| Monitor Status : up
| Session Status : enabled
| Ltm::Pool Member: Common/10.131.131.107:80
| Monitor Status : down
| Session Status : enabled
TMOS V10 example:
tmsh show ltm pool members | grep -iE '(ltm::pool|availability|state)'
Ltm::Pool: part_web_pool
Availability : available
State : enabled
Ltm::Pool Member: part_web_pool 10.131.131.105:80
Availability : available
State : enabled
Ltm::Pool Member: part_web_pool 10.131.131.106:80
Availability : available
State : enabled
Ltm::Pool Member: part_web_pool 10.131.131.107:80
Availability : offline
State : enabled
Thanks, Stephan