<div dir="ltr"><a href="https://github.com/FlipperPA/latency-tester">https://github.com/FlipperPA/latency-tester</a><br><br>This might be a good place to start. It's on github, but no license.<div><br></div><div><b>Basically where it says this:</b></div><div><b><br></b></div><div><font color="#333333" face="Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, Segoe UI Emoji, Segoe UI Symbol"><span style="line-height:18.2000007629395px"> if ping_time > threshold:</span></font><table class="" style="border-collapse:collapse;border-spacing:0px"></table><font color="#333333" face="Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, Segoe UI Emoji, Segoe UI Symbol"><span style="line-height:18.2000007629395px"> write_to_file(log_file, line + '\n')</span></font><table class="" style="border-collapse:collapse;border-spacing:0px"></table><font color="#333333" face="Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, Segoe UI Emoji, Segoe UI Symbol"><span style="line-height:18.2000007629395px"><br></span></font><table class="" style="border-collapse:collapse;border-spacing:0px"></table>is where you want to add in your code.<br><table class="" style="border-collapse:collapse;border-spacing:0px;color:rgb(51,51,51);font-family:Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,'Segoe UI Emoji','Segoe UI Symbol';font-size:13px;line-height:18.2000007629395px"></table><table class="" style="border-collapse:collapse;border-spacing:0px;color:rgb(51,51,51);font-family:Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,'Segoe UI Emoji','Segoe UI Symbol';font-size:13px;line-height:18.2000007629395px"><tbody></tbody></table></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 23, 2015 at 8:30 AM, Raymond Norton <span dir="ltr"><<a href="mailto:admin@lctn.org" target="_blank">admin@lctn.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How would I configure the ms variable?<br>
<span class="im HOEnZb"><br>
<br>
<br>
----- Original Message -----<br>
From: "Marc Skinner" <<a href="mailto:marc@e-skinner.net">marc@e-skinner.net</a>><br>
To: "TCLUG Mailing List" <<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a>><br>
</span><span class="im HOEnZb">Sent: Monday, March 23, 2015 8:04:23 AM<br>
Subject: Re: [tclug-list] alert for long ping times<br>
<br>
</span><div class="HOEnZb"><div class="h5">On 03/23/2015 07:59 AM, Raymond Norton wrote:<br>
> I currently run an aggressive ping script that sends an email if specific hosts go down. Is there a way to do the same; maybe even play a sound, when ping times exceed 75ms?<br>
><br>
<br>
<br>
Replace email with text to speech!<br>
<br>
<a href="http://www.maketecheasier.com/make-computer-talk-with-festival/" target="_blank">http://www.maketecheasier.com/make-computer-talk-with-festival/</a><br>
<br>
<br>
_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
</div></div></blockquote></div><br></div>