Forum Discussion
paul_dawson_258
Nimbostratus
May 11, 2016Neat and tidy iControl data extraction
Hi, I am looking for an iControl script that will list the Virtual Server name, destination IP, Pool names and Pool Member IPs in a tidy output. Surely one must exist?
I don't mind how I call it...
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.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects