[rrd-users] Resend: "reset" a DS within an RRD

Jack Tavares j.tavares at F5.com
Sun Dec 14 09:54:54 CET 2008


Of course. Sorry I should have been clearer in what I was looking for.

I was hoping to avoid that. I was hoping for a call to clear a DS.

Thanks though.
--
Jack Tavares
Reminder: I am at GMT+2, 10 hours AHEAD of Seattle.
My workweek is Sunday-Thursday.
Email sent to me Thursday afternoon (PST) may not be viewed until Sunday morning (GMT+2).
________________________________________
From: rrd-users-bounces at lists.oetiker.ch [rrd-users-bounces at lists.oetiker.ch] On Behalf Of Simon Hobson [linux at thehobsons.co.uk]
Sent: Sunday, December 14, 2008 10:42 AM
To: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] Resend: "reset" a DS within an RRD

Jack Tavares wrote:

>I am looking for a more granular way to "reset" all the data in an rrd.
>I track lots of data and I have about a 5 or 6 rrd files, each with
>10 or so data sources.
>
>To reset or blow away stored data for a given data source, I delete
>the rrd file it is in and recreate it.
>This throws away all data saved for everything in the rrd file.
>
>This is, of course, sub-optimal.
>
>What I want is the ability to throw away all data for a given data source.
>
>Is there a way to reach in and set all the rows for a data source to UNKNOWN?

Export the file (rrdtool export file.rrd), write a script to mangle
the data, re-import it.

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

_______________________________________________
rrd-users mailing list
rrd-users at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users



More information about the rrd-users mailing list