Code

fix off by 1 error
[rrdtool-all.git] / contrib / killspike / README
1 From: Bert Driehuis <driehuis@playbeing.org>
2 Date: Fri, 14 Jan 2000 03:41:07 +0100 (CET)
4 This script will read an XML file produced by
6        rrdtool dump foo.rrd >in.xml
8 and look at the $maxspike highest samples per datasource. It then finds the
9 records with the most hits and ditches the data. The resulting file can be
10 read back into the RRD database with the command
12        rrdtool restore out.xml foo.rrd
14 The whole idea is to find and eradicate "spikes" caused by erroneous
15 readings affecting entire records.
17 This tool is not for the faint of heart, will require tweaking per case
18 (even though that should just be picking values for cutoff and to a lesser
19 extent, maxspike). It will cause data loss, for obvious reasons.