{"id":183,"date":"2006-01-15T17:41:45","date_gmt":"2006-01-15T14:41:45","guid":{"rendered":"http:\/\/void.gr\/kargig\/blog\/?p=183"},"modified":"2007-05-21T01:19:00","modified_gmt":"2007-05-20T22:19:00","slug":"howto-remove-spikes-from-rrd-graphs","status":"publish","type":"post","link":"https:\/\/www.void.gr\/kargig\/blog\/2006\/01\/15\/howto-remove-spikes-from-rrd-graphs\/","title":{"rendered":"HOWTO remove spikes from RRD graphs"},"content":{"rendered":"<p>If you happen to use rrdtool to create graphs to monitor equipment you might have come upon some &#8220;spikes&#8221; in your graphs. These are perfectly normal and happend due to machines  that have rebooted and have reset their counters or other anomalies that might occur.<\/p>\n<p>There is a script called removespikes.pl made specially to fix these cases. You can either find the tool here: <a href=\"http:\/\/oss.oetiker.ch\/rrdtool\/pub\/contrib\/removespikes.tar.gz\">http:\/\/oss.oetiker.ch\/rrdtool\/pub\/contrib\/removespikes.tar.gz<\/a> or get it from my blog <a href='http:\/\/void.gr\/kargig\/blog\/wp-content\/removespikes.pl.gz' title=''>removespikes.pl.gz<\/a><\/p>\n<p>Extract it, and then type something in the command line like the following:<br \/>\n<code>for i in \/location\/of\/rrds\/*; do \/full\/path\/to\/removespikes.pl $i; done;<\/code><\/p>\n<p>You should probably see some messages like these:<\/p>\n<blockquote><p>Chopping peak at                        &lt;!&#8211; 2005-10-25 17:00:00 EEST \/ 1130248800 &#8211;&gt;<br \/>\nChopping peak at                        &lt;!&#8211; 2005-10-25 19:00:00 EEST \/ 1130256000 &#8211;&gt;\n<\/p><\/blockquote>\n<p>That&#8217;s all&#8230;enjoy your graphs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you happen to use rrdtool to create graphs to monitor equipment you might have come upon some &#8220;spikes&#8221; in your graphs. These are perfectly normal and happend due to machines that have rebooted and have reset their counters or other anomalies that might occur. There is a script called removespikes.pl made specially to fix [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"footnotes":""},"categories":[3,8],"tags":[],"class_list":["post-183","post","type-post","status-publish","format-standard","hentry","category-linux","category-networking"],"aioseo_notices":[],"views":21422,"_links":{"self":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/comments?post=183"}],"version-history":[{"count":0,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/183\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/media?parent=183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/categories?post=183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/tags?post=183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}