Try this: cp file.rrd file.rrd.bkup (backup the file) rrdtool tune file.rrd rrdtool tune file.rrd --data-source-type dsname:DERIVE rrdtool tune file.rrd --minimum dsname:0 --maximum dsname:100000000 (100000000 is an example...) rrdtool tune file.rrd rrdtool dump file.rrd > file.xml rrdtool restore --range-check file.xml file.rrd.new
You can also change you graph file (.sh or .pl) you have something like: 'DEF:A=/path/to/your/file.rrd:dsname:AVERAGE' then you graph it with LINE1:A#.... or so You try this 'CDEF:B=A,MINVALUE,GT,A,MAXVALUE,LT,A,UNKN,IF,UNKN,IF' then graph B... replace MINVALUE with the minimun value you want to graph (ex: 0) and MAXVALUE with the maximum value you want to graph (ex: 100000000) on 27/05/03 17:28, « Iñaki Martínez » <[EMAIL PROTECTED]> wrote: > hi Alex van den Bogaerdt!!! > >>>> No, rrdtool tune filename with no options. >>> What does without options???? >> >> Try it, you'll like it. > > I think no results > > # rrdtool tune interface.rrd > DS[in] typ: DERIVE hbt: 600 min: 0.0000 max: nan > DS[out] typ: DERIVE hbt: 600 min: 0.0000 max: nan > > > The graph is the same....... the peak is still there..... :-( > > > Test this one: > >> change options, dump, restore, sorry >> >> 1) Change the settings of your database using rrdtool tune (RTFM) > > # rrdtool tune interface.rrd > DS[in] typ: DERIVE hbt: 600 min: 0.0000 max: nan > DS[out] typ: DERIVE hbt: 600 min: 0.0000 max: nan > >> 2) Dump the database into an xml file > > rrdtool dump interface.rrd > interface.xml > >> 3) Restore the database from that xml file, using the option >> that tells restore to check ranges > > rrdtool restore interface.xml interface.rrd -r > > > The graph is the same....... the peak is still there..... :-( -- Jean-Edouard BABIN Mail: [EMAIL PROTECTED] Web : www.Jeb.com.fr IRC : Jeb @ Undernet -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
