Forum Discussion

uni's avatar
uni
Icon for Altostratus rankAltostratus
Nov 15, 2012

Equivalent of "bigpipe virtual address show"

I really miss the old "b virtual address show". It was a nice easy way to see the structure of a virtual and some quick stats.

 

Has anyone written an equivalent tmsh script they'd like to share?

 

2 Replies

  • Hi Stephen,

     

     

    You could start with this example and expand:

     

     

    https://devcentral.f5.com/wiki/tmsh.codeshare.ashx ->

     

    https://devcentral.f5.com/wiki/TMSH.PoolStatus.ashx

     

     

    Aaron
  • Not sure of anyone else but i get the following errors when creating the tcl script from the above link of using V11.4.1 HF2 https://devcentral.f5.com/wiki/TMSH.PoolStatus.ashx

     

    (tmos.cli.script) edit pool-status.tcl Save changes? (y/n/e) y There were warnings: /Common/pool-status.tcl:20: warning: [use curly braces to avoid double substitution][$usable]

     

    01070712:3: /Common/pool-status.tcl:12: error: [undefined procedure: tmsh::get''field''value][tmsh::get''field''value $obj members]

     

    - sys/validation/CliShellScript.cpp, line 319

    Has anyone been able to reproduce the "b virtual address show" in V11 i agree as above it was very usful to have all the info output in a nice format like that command did. You had VIRTUAL ADDRESS and VIRTUAL NAME and Pool and POOL MEMBERS all in once output, Be nice to reproduce that type of output in V11.