For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

WildWeasel's avatar
Jul 21, 2016

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

  • 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_63263's avatar
    zeiss_63263
    Historic F5 Account

    If your user isn't jailed into tmsh, it may be easier to grep the raw config files in /config/partitions/*/