angel

Check_Ping Angel Plugin

18 Dec 2005, posted on angel

Name

Check_ping

Author

Marco Paganini (paganini@paganini.net)

Description

This plugin checks for roundtrip times and packet loss conditions using your OS ping command. You can set alarms based on roundtrip times and percent of packets lost during the test.

Parameters

The parameter line should be in the format:

hostname!ttl_yellow!ttl_red!loss_yellow!loss_red

Where:

  • ttl_yellow
  • ttl_red

These parameters control the yellow and red thresholds based on the roundtrip times. TTLs above ttlyellow (but below ttlred) result in an yellow alert. TTLs above ttlred will always result in a redalert.

  • loss_yellow
  • loss_red

Warn yellow if the loss of packets is >= lossyellow%. Warn red if the loss of packets if >= lossred%.

Examples

haha.hehe.com!100!200!5!15

Warns yellow if the roundtrip time to haha.hehe.com exceeds 100ms (I’m assuming here your PING command uses milisseconds, as most do). Warns red if it exceeds 200ms. Also, We’ll get an yellow alert if more than 4% of our packets gets lots during the connection, and a red alert if more than 14% gets lost.

Bugs and other unpleasant things

You tell me, please. :)


[Permalink] | [Digg Me] | [Add to del.icio.us] | [Submit to reddit] | [Submit to ma.gnolia.com] | [Submit to FURL]

[ 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 ] next ->>