Forum Discussion

Muthukumar_1197's avatar
Muthukumar_1197
Icon for Nimbostratus rankNimbostratus
Mar 06, 2013

TMSH Script to find the offline nodes

Hi Friends,

 

 

 

I am looking for TMSH script to find the offline nodes in pool level and node level.

 

 

Can any one help me on this, how to do.

 

 

Thanks,

 

Muthukumar

 

 

2 Replies

  • Hi

     

     

    Use: tmsh show ltm pool all detail |grep -e ^Ltm -e Availability

     

     

    Then you can work with the output and echo two lines if the second includes an "offline".

     

     

    br,

     

    Thomas

     

     

  • Thanks Thomas.

     

     

    Will this command do the folowing right, Please correct me if i am wrong.

     

    1. Get the list of pools

     

    2. Then get the member status of each pool (either online or offline status)

     

     

    Do you have any output format.

     

    As we are having the boxes in production, we cannot able to test it, also we are having more than 300 pools. So require u r clarrifications on this.

     

     

    Thanks,

     

    Muthukumar