Apr 21, 2009, 7:24 AM
Hi, Thanks for your reply, the sample data from subnet.txt looks like
Re: [1arryb] Help needed for my script
I need to run a cli that points to each of the contents in subnet.txt and run it one subnet at a time, like so
getzoneprof -u Xxx -p Xxx a $subnet -o Orig
Once you run this I get lots of stuff, but I am only interested in on a few parameters which start from the first 4 lines of the output.
This is what it looks like:
getzoneprof -u XxX -p XxX -a 10.0.0.0/16 -o Orig
dnsServers=richm01.cmmc.sark.com P 0,hhyt.sark.com 0,6cnscuyt1.netdevice.richsark.com S 0, dell.netdevice.rich.net S 0, sony123.sarkie.west.org S 0
I need to ssh to each and every server listed in the dnsServers= line and see if there are *.jnl files present. If so I report on it.
Does this help in solving my code?
(This post was edited by richsark on Apr 21, 2009, 7:33 AM)