[rrd-users] Re: 'Trapping' Values?

Aaron Spiegel spiegela at gmail.com
Mon Mar 14 21:17:38 MET 2005


You will probably want to check out the aberrant behavior detection
features available  in development snapshots.

http://cricket.sourceforge.net/aberrant/rrd_hw.htm

> Just wondering if anyone has written a script that compares, say teh current
> value in the RRD against the previous, and if it is twice the value, to
> create an alert or something similar?

Something like this can be implemented pretty easily in perl, by
fetching out the values you want to compare.  You can also craft a
CDEF to do the math for you, and use "rrdtool xport" to show you the
value.  A CDEF that checks DEF "a" for this would look something like:

CDEF:alert=a,PREV,a,2,*,GT,1,0,IF

Aaron Spiegel

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list