http://qs321.pair.com?node_id=615562


in reply to Re: Ping sweep with reporting
in thread Ping sweep with reporting

Depending on the output from your ping program (/usr/sbin/ping), you may have to adjust the line:
if ($ping_out !~ /is alive/){ print "$_ isn't pinging\n"; }
to something like
if ($ping_out !~ /bytes from/){ print "$_ isn't pinging\n"; }