[Nagiosplug-devel] Adaptive Latency Checking Script
Thomas Guyot-Sionnest
dermoth at aei.ca
Fri Aug 26 13:51:38 CEST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11-08-26 04:10 AM, Samuel Kidman wrote:
> Hello
Hi
> I was just wondering if anyone knows if anything is out there that
> checks latency and sets threshholds by itself? Ie. The check
> continuously checks latency to a host and notices if the latency goes up
> significantly (say, by a percentage of the ‘normal’ value)
>
>
>
> I’ve tried to write something like this myself but I get stuck on two
> things:
>
>
>
> 1. How do you make it allow for situations where the latency
> increases to a new level for a long period of time?
>
> 2. How do you detect what the ‘good’ value is?
I would build something like it based on RRD's aberrant Behaviour
Detection. See:
http://oss.oetiker.ch/rrdtool/doc/rrdtool.en.html#IAberrant_Behavior_Detection
http://oss.oetiker.ch/rrdtool/doc/rrdcreate.en.html#IAberrant_Behavior_Detection_with_Holt_Winters_Forecasting
http://oss.oetiker.ch/rrdtool/doc/rrdgraph_examples.en.html#IAberrant_Behaviour_Detection
http://cricket.sourceforge.net/aberrant/rrd_hw.htm
RRD are generally for graphing, but you should be able to get the
relevant data suitable for a script with "rrd fetch" as well - or by
using directly RRD's API if available in the language you write your
plugin in.
- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEUEARECAAYFAk5XiMMACgkQ6dZ+Kt5BchYaNACXV4aPGzEqhZERkxc8BmAkS9KQ
SwCfe3M9Hu5TyV3G+fTWPfxWjLGtZ2I=
=jZzB
-----END PGP SIGNATURE-----
More information about the Devel
mailing list