Or you could try rolling your own.<br>Use this as the basis.<br>ping -c 10 $IP | grep ttl | sed "s/=/ /g" | awk '{ sum+=$10 } END { print "Average = ",sum/NR }'<br>Flavour to taste.<br><br>Regards <br>
   Vernon<br><br><br><br><div class="gmail_quote">On Sun, Aug 15, 2010 at 3:40 PM, Thomas Eckert <span dir="ltr"><<a href="mailto:thomas.eckert@it-eckert.de">thomas.eckert@it-eckert.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Hi Marc,<br>
<br>
to my knowledge this cannot be done with (vanilla) xymon but a tool designed<br>
exactly for this is smokeping<br>
        <a href="http://oss.oetiker.ch/smokeping/" target="_blank">http://oss.oetiker.ch/smokeping/</a><br>
smokeping collects latency-data (for ping and many other protocols) in RRD<br>
graphs an can send warning e-mails on certain criteria.<br>
<br>
I seem to remember an extension on deadcat that allows the integration on<br>
smokeping (in big-brother and probably hobbit/xymon as well) but never tested<br>
it myself.<br>
The upcomping feature of xymon to generate status-messages from arbitrary<br>
rrd-files may ease the integration.<br>
<br>
For generating the smokeping-configuration from a bb-hosts file I have created<br>
an quick-and-dirty script I could share.<br>
<br>
HTH,<br>
<br>
        Thomas<div class="im"><br>
<br>
<br>
On Fri, 13 Aug 2010, Marc Fricke wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
How do I enable warnings/alerts based on the conn/ping "latency" for a device? I know it will allow you to set warnings based on the amount of fails but not the latency itself - do I need a custom script/command for this? EG. Go yellow on 500ms+ ping red on 1000ms+ ping?<br>

<br>
<br>
Thanks,<br>
<br>
Marc<br>
</blockquote>
<br></div>
-- -------------------------------------------------------------------------<br>
| IT-Beratung Eckert  | Hartkirchweg 54          | fon: +49 (0)761/ 594 9898<br>
| Thomas Eckert       | 79111 Freiburg i.Br.     | fax: +49 (0)761/ 594 9899<br>
|                     | Germany                  | <a href="http://www.it-eckert.de/" target="_blank">http://www.it-eckert.de/</a><br>
<br>
To unsubscribe from the xymon list, send an e-mail to<br>
<a href="mailto:xymon-unsubscribe@xymon.com" target="_blank">xymon-unsubscribe@xymon.com</a><br>
<br>
<br>
</blockquote></div><br>