Justin_43469
Feb 17, 2010Nimbostratus
3Dns script in a GTm World?
so I have used this simple shell script on our 3dns box for ever.
for varwip in `3dpipe wideip show | grep name | awk '{print $2}'`; do
echo $varwip
for varpool in `3dpipe wideip $varwip pool show | grep name | awk '{print $2 $3}'`; do
echo "- $varpool"
3dpipe wideip $varwip pool $varpool virtual show | grep vs | awk '{ print $4; }'
done
echo
done
Basically it returns
WideIpname.com
- Poolname
ip of virtual
ip of virtual
ip of virtual
This simple little script made it insanely easy to simply view what wideips were going to respond with what Ips.
I want to do this on the GTM but can't seem to find anything even remotely in the same ballbark as the commands above. Any one have any pointers?