Forum Discussion
tmsh show info from all monitors across all partitions
We have the issue where we utilize a healthmonitor to log into an application using a username. If that user password expires it would be great to find all affected Virtual Servers and/or Pools.
Unfortunatly all the Health Monitors are not located under the Common Partition, some are located also under Production Partition more under LDAP Partition, Messaging Partition, etc. etc.
I know I can run tmsh list /ltm monitor | grep username but this searches only the /Common partition
I've tried to utilize what I know about searching Members of Pools but for Health Monitors this doesn't work tmsh list ltm pool /Production/* members
Any suggestions? Only thing I can come up with is possibly grep the bigip.conf file Running 11.4.1
2 Replies
- IanB
Employee
It's a bit ugly, and I wish the syntax was more forgiving, but you can achieve this with the following command
tmsh -q -c 'cd / ; list recursive' | grep 'ltm monitor' ltm monitor gateway-icmp partition2/Common-monitor { ltm monitor gateway-icmp partition2/partition2-monitor { ltm monitor gateway-icmp partition2/partition3-monitor { ltm monitor https Common/ECOM_QA_IAM_ISAM_HTTPS_MONITOR { ltm monitor tcp Common/tcp_10000 { - zeiss_63263Historic F5 Account
If your user isn't jailed into tmsh, it may be easier to grep the raw config files in /config/partitions/*/
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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