Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got an RRDtool graph that has a huge spike after a reboot. I've tried using the popular script on it, but just returns a "No peaks found.!". What's the best way to take care of this?

share|improve this question
I've now seen that you already tried, so I edited my answer. Try to use it with -t, this should solve your problem. Hope it helps. – Marco Ramos Apr 27 '11 at 19:40
I updated removespikes to work with recent changes in rrd xml format – valodzka Aug 8 '11 at 18:56

I'd recommend this perl script, which is available on the rrdtool contrib page itself. I've used it the past and it works fine. It automatically removes the spikes and it even does a backup of the .rrd file :)

Quoting the README file:


This version of is based on Vins Vilaplana and Humberto Rossetti Baptistas code.

I have added value-based chopping (-t value), an analysis-only mode (-a), control of verbose/debug output (-d/-v), a help option (-h) and some code cleanup.

removespikes>./ -h REMOVESPIKES: Remove spikes from RRDtool databases.

Usage: ./ -d -a [-l number] [-t maxval] name_of_database

Where: -d enables debug messages
-a runs only the analysis phase of the script
-h prints this message
-l sets the % limit of spikes bin-based chopping (default: 0.6)
-t sets the value above which records are chopped. Disabled by default. Enabling value-based chopping will disable bin-based chopping.

-v Verbose mode. Shows some information name_of_database is the rrd file to be treated.



EDIT: I've now seen that you already tried but you got "no peaks found". Try to use it with -t flag, this should solve your problem.

share|improve this answer
Tried -t with all sorts of values, no luck. – raccettura Apr 27 '11 at 19:49
you can tweak -l as well for bin based chopping. – Marco Ramos Apr 27 '11 at 20:06

My normal answer is "You can't edit RRD files." or "You have to use rrdtool to dump it, edit the dump and restore it - that's too much work!", but you seem like a nice guy so I'll point you at rrdEditor :-)

share|improve this answer

Wanted to reply to the answer above for -- the linked version misses the -t option. I found the one that does support it here:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.