Export Virtual Server Configuration in CSV - tmsh cli script
Fantastic info. Thanks so much. I used your 5.0 version because having the status and state fields is quite valuable. I ran this on our lab box and works great - although it only has a few VIPs. I'm running into errors though on a production box - it might be based on a particular DHCP-RELAY virtual that has a 255.255.255.255 address and the script seems to get stuck at that point:
virtual-details: script failed to complete:
can't eval proc: "script::run"
"DHCP-RELAY" is not accepted by the "show" command
while executing
"tmsh::get_status ltm virtual [tmsh::get_name $obj]"
(procedure "script::run" line 7)
invoked from within
"script::run" line:1
script did not successfully complete, status:1
It seems that I just need to get around this DDHCP-RELAY virtual. Any ideas how to exclude that virtual in the script? (or do I have larger issues?)
Thanks!