Re: Perl Net::Ping; (Win32)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Don't we love repling to our own posts...

> > >       # Do our monitoring here.  These values are unique per DB
> > > entry.
> > >       $ping = Net::Ping->new("icmp", 10);
> > >       if (!($ping->ping($IPAddr))) {
> > >         Notify_Mail($Email);
> > >         Notify_Admins($LineNumber);
> > >       };
> > >       $ping->close();
> >
> > Does this work on any Unix systems without root privilege?
>
> Yup, it even works on NT machines *if* the running user has adminsitrative
> rights.

Correction...  I didn't react on the "without" part.....   I have not tested
it on Unix... If anyone is willing, it will be appreciated.  On NT however,
works with administrative (root) rights...

---
Regards,
Chris Knipe
Cell: (083) 430-8151



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux