Patrick Rother wrote: > When a new rrd files is created all values are undef and new values get > added.
correct. > I would like to dump all data to xml, replace all values within a given > time range that are undef with zero, and reimport the data. This is a solution, not a problem description. Are you sure you want to solve a problem with this solution or do you want to solve your problem? If you just want to solve a problem I have an alternative solution: Create a database that ends at the time where you want to insert zeros. The DSes should be of type GAUGE and the heartbeat should be very high. Now update the database: insert a zero at the time you want the zeros to end. RRDtool will modify each entry. Now alter the DS type and the heartbeat using "rrdtool tune". cheers, -- __________________________________________________________________ / [EMAIL PROTECTED] [EMAIL PROTECTED] \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- 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
