views:

167

answers:

1

I'm using munin to monitor a postgresql database and I made a 1 time change that caused munin to get a bad sammple (queries per second many orders of magnitude out of the normal range) that is screwing up my graphs. Is there any way I can easily delete a single data point from the munin data?

I guess I need an rrd editor of some kind, but I'm not sure what will be easiest. Annoying that the data isn't just stored in plaintext :(

+1  A: 

take a backup of your rrd,

stop whatever is writing to it, or be quick

export to xml: rrdtool dump thefile.rrd > thefile.xml edit in vi, replacing the offending figure with NaN

import rrdtool restore thefile.xml (or whatever the syntax is - google it)

done

ddd