Forum Discussion
khansafdarali1_
Oct 11, 2016Nimbostratus
What is the command in tmsh to find out all the pools that are associated to monitor "tcp"?
What is the command in tmsh to find out all the pools that are associated to monitor "tcp"?
- Oct 11, 2016
- (tmos)
Go to Bash shellrun util bash
- (bash)
Print out names of all LTM pools associated with the 'tcp' health-check monitortmsh list ltm pool one-line | grep 'monitor tcp ' | awk '{ print $3 }'
- (tmos)
Vijay_E
Oct 11, 2016Cirrus
(tmos.ltm)show pool all | grep "Monitor\|Pool:"
(tmos.ltm) list pool | grep "pool\|monitor "
This should give you all the pools and the associated monitor. You can copy the output and utilize sed/awk/egrep to obtain the relevant information. You can also try to execute the tmsh command from bash and try and utilize sed/awk/egrep to obtain the output you desire.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects