Can I just solicit some PERL or BASH code from you experts that would allow a script to ping multiple devices simultaneously (i.e. spawning multiple bash PING instances) and then just display the output to screen of which were successful or not?
For example, I am looking for something very simple like sending a salvo of 10 pings (and because of ARP aging), if I get 6 or more pings back, then say UP, 0 means down, and 1-5 means VERIFY:
And them my devicelist.txt would have something like
After which I just get an output on screen with:
Router1 - UP - 6/10 pings
Router2, - DOWN - 0/10 pings
Firewall1 - DOWN - 0/10 pings
Firewall2 - UP - 8/10 pings
server1 - VERIFY - 2/10 pings
server2, - VERIFY - 1/10 pings
My final list would be 70 - 100 devices long , but I show the above as sample only. And I don't mind if the script writes to 70 - 100 individual small files where it writes its temporary output, as long as it can clean it up after. thanks.
Thanks very much.