Forum Discussion

Don_Jeske_20796's avatar
Don_Jeske_20796
Icon for Nimbostratus rankNimbostratus
Dec 09, 2015

Listing pool members using a particular health monitor

Hi, I am trying to figure out a way to list the pools using a particular monitor on our LTM's and GTM's. Specifically, I am trying to figure out which VIP's currently use tcp half-open to target them for upgrading them to a layer 7 health check. My organization has thousands of VIPs so manually searching through the GUI or the config isn't an option. Thanks

 

2 Replies

  • grep to the rescue!

     tmsh list ltm pool all-properties | grep -B18 "tcp_half_open" | grep -e "ltm pool" -e "monitor"
    

    yields

    ltm pool testpool {
        monitor tcp_half_open 
    

    you might need to change the -B18

  • Thbnaks, I did sone experimenting and found this did the trick for me:

     

    tmsh list ltm pool | grep -E "pool|tcp_"

     

    It yields: ltm pool testvip.tcp.80 { monitor tcp_half_open