in reply to Re: Using Net::Ping for broadcast address
in thread Using Net::Ping for broadcast address

Hey THRAK,

Thanks for the reply. Actually, I don't necessarily know which subnet ($ThirdOctet) the systems are on. Part of this script is to "auto-discover". By replacing Net::Ping w/ `/usr/sbin/ping `$sbnt`, I can scan the broadcast address, just look for the word /alive/ and it hums happily along.

I have a working script, but I am just a little bummed that I can't get perl's ping to do job. In other words: why won't perl's ping allow/recognize a broadcast address ping response?

Joe

Replies are listed 'Best First'.
Re: Re: Re: Using Net::Ping for broadcast address
by THRAK (Monk) on Mar 30, 2001 at 23:09 UTC
    Joe, Are you running this as yourself or root? ICPM only works as root. Read the "Description" section here. I haven't used Net::Ping much, but I did play around with it a bit while trying to build a monitor for a bunch of distributed check printers.

    -THRAK
    www.polarlava.com
      Inter-Continental-Perlish-Missile ??
          /me ducks,
          Don