Kevin,

As a last resort, you can always use the regular ping command in your perl
script (using something like $line = `ping -c5 -q $host | tail -2 | head
-1` and checking for some threshhold of packet loss (ie 100%)

charles

On Mon, 2 Apr 2001, K Old wrote:

> David,
> 
> These IP's go down every now and then and for no reason...I've looked and 
> can't figure it out.....my Perl script will work and do the job if I could 
> only get the Net::Ping module to work.  Everything is installed perfect, but 
> for some reason it returns an undef value instead of a 0 or 1.
> 
> Thanks for your help though.
> 
> Kevin



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to