Or you could try rolling your own.
Use this as the basis.
ping -c 10 $IP | grep ttl | sed "s/=/ /g" | awk '{ sum+=$10 } END { print
"Average = ",sum/NR }'
Flavour to taste.
Regards
Vernon
On Sun, Aug 15, 2010 at 3:40 PM, Thomas Eckert
<user-2a86d6cd6326@xymon.invalid>wrote:
Hi Marc,
to my knowledge this cannot be done with (vanilla) xymon but a tool
designed
exactly for this is smokeping
http://oss.oetiker.ch/smokeping/
smokeping collects latency-data (for ping and many other protocols) in RRD
graphs an can send warning e-mails on certain criteria.
I seem to remember an extension on deadcat that allows the integration on
smokeping (in big-brother and probably hobbit/xymon as well) but never
tested
it myself.
The upcomping feature of xymon to generate status-messages from arbitrary
rrd-files may ease the integration.
For generating the smokeping-configuration from a bb-hosts file I have
created
an quick-and-dirty script I could share.
HTH,
Thomas
On Fri, 13 Aug 2010, Marc Fricke wrote:
How do I enable warnings/alerts based on the conn/ping "latency" for adevice? 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?
Thanks,
Marc
--
| IT-Beratung Eckert | Hartkirchweg 54 | fon: +49 (0)761/ 594
9898
| Thomas Eckert | 79111 Freiburg i.Br. | fax: +XX (X)XXX/ XXX
9899
| | Germany |
http://www.it-eckert.de/