this sounds like a job for python.

http://stackoverflow.com/questions/316866/ping-a-site-in-python


On Thu, Oct 24, 2013 at 9:22 AM, Raymond Norton <admin at lctn.org> wrote:

> I am googling for a ping program for Ubuntu  that sends and email or audio
> alert if the ping request times out. Needs to run all the time rather than
> cycle every few minutes.
>
> Any ideas?
>
> --
> Raymond Norton
> LCTN
> 952.955.7766
>
> Sent from My Desktop
>
> ______________________________**_________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/**mailman/listinfo/tclug-list<http://mailman.mn-linux.org/mailman/listinfo/tclug-list>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20131024/a7e817f8/attachment.html>