Xymon Mailing List Archive search

conn/ping latency warning

6 messages in this thread

list Marc Fricke · Fri, 13 Aug 2010 09:33:11 +1000 ·
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?


Thanks,

Marc


Please consider the environment before printing this email

This message, together with any attachment, is intended only for the use of the individual or entity to which it is addressed, and may contain information that is legally privileged and confidential. If you are not the intended recipient, please be informed that any dissemination, distribution or copying of this message, or any attachment is strictly prohibited. Kindly note that Internet communications are not secured and therefore are susceptible to alteration. RFBI will not accept legal responsibility for the contents of this message. If you have received this message in error, please advise the sender by reply e-mail, and delete the message. Thank you for your co-operation.
list Stephen · Sat, 14 Aug 2010 12:03:34 -0400 ·
  Great question, I'm interested in the results Marc, plz send/post summary/solution.

Thanks
-Steve
quoted from Marc Fricke

On 8/12/2010 7:33 PM, Marc Fricke wrote:
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?

Thanks,

Marc


Please consider the environment before printing this email

This message, together with any attachment, is intended only for the use of the individual or entity to which it is addressed, and may contain information that is legally privileged and confidential. If you are not the intended recipient, please be informed that any dissemination, distribution or copying of this message, or any attachment is strictly prohibited. Kindly note that Internet communications are not secured and therefore are susceptible to alteration. RFBI will not accept legal responsibility for the contents of this message. If you have received this message in error, please advise the sender by reply e-mail, and delete the message. Thank you for your co-operation.
list Marc Fricke · Sun, 15 Aug 2010 10:34:44 +1000 ·
Unfortunately I'm not sure how to do this, anyone know?
quoted from Stephen


On 15/08/2010, at 2:05 AM, "Stephen" <user-c9612c3613bc@xymon.invalid<mailto:user-c9612c3613bc@xymon.invalid>> wrote:

Great question, I'm interested in the results Marc, plz send/post summary/solution.

Thanks
-Steve

On 8/12/2010 7:33 PM, Marc Fricke wrote:
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?


Thanks,

Marc


Please consider the environment before printing this email

This message, together with any attachment, is intended only for the use of the individual or entity to which it is addressed, and may contain information that is legally privileged and confidential. If you are not the intended recipient, please be informed that any dissemination, distribution or copying of this message, or any attachment is strictly prohibited. Kindly note that Internet communications are not secured and therefore are susceptible to alteration. RFBI will not accept legal responsibility for the contents of this message. If you have received this message in error, please advise the sender by reply e-mail, and delete the message. Thank you for your co-operation.

Please consider the environment before printing this email

This message, together with any attachment, is intended only for the use of the individual or entity to which it is addressed, and may contain information that is legally privileged and confidential. If you are not the intended recipient, please be informed that any dissemination, distribution or copying of this message, or any attachment is strictly prohibited. Kindly note that Internet communications are not secured and therefore are susceptible to alteration. RFBI will not accept legal responsibility for the contents of this message. If you have received this message in error, please advise the sender by reply e-mail, and delete the message. Thank you for your co-operation.
list Steve Holmes · Sat, 14 Aug 2010 21:11:14 -0400 ·
quoted from Marc Fricke

On Aug 14, 2010, at 8:34 PM, Marc Fricke <user-03e37bcf094f@xymon.invalid> wrote:
Unfortunately I'm not sure how to do this, anyone know?


On 15/08/2010, at 2:05 AM, "Stephen" <user-c9612c3613bc@xymon.invalid> wrote:
Great question, I'm interested in the results Marc, plz send/post summary/solution.

Thanks
-Steve

On 8/12/2010 7:33 PM, Marc Fricke wrote:
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?
  Thanks,
 Marc
 
Please consider the environment before printing this email
I have never seen any indication that this can be done out of the box. Steve
list Thomas Eckert · Sun, 15 Aug 2010 09:40:05 +0200 (CEST) ·
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
quoted from Marc Fricke


On Fri, 13 Aug 2010, Marc Fricke wrote:
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?


Thanks,

Marc
-- -------------------------------------------------------------------------

| IT-Beratung Eckert  | Hartkirchweg 54          | fon: +49 (0)761/ 594 9898
| Thomas Eckert       | 79111 Freiburg i.Br.     | fax: +XX (X)XXX/ XXX XXXX
|                     | Germany                  | http://www.it-eckert.de/
list Vernon Everett · Sun, 15 Aug 2010 20:33:45 +0800 ·
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
quoted from 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 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?


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/