Forum Discussion
May 12, 2016
Just updated the code in the codeshare sample to include the destination address. Just needed to call LocalLB.get_destination() and add that to the output. I added the destination to the end of the vip name line. There is a get_destination_v2() which includes the folder path as well but this is cleaner. Output looks like this:
$ ./LocalTrafficMap.pl bigip_addr user pass
***** SITE MAP FOR BIG-IP ******
/Common/myvip (VS) 20.20.20.20:80
| Unknown (Enabled) The children pool member(s) either don't have service checking enabled, or service check results are not available yet
+-> /Common/mypool (P)
| Unknown (Enabled) The children pool member(s) either don't have service checking enabled, or service check results are not available yet
+-> 10.10.10.10:80 (PM)
| Unknown (Enabled) Pool member does not have service checking enabled
+-> 10.10.10.20:80 (PM)
| Unknown (Enabled) Pool member does not have service checking enabled
+-> /Common/myirule (R)
It's very easy to change the format of the output.