Re: [rrd-users] Adding data in the past
> I want to add data in the past but cannot figure how to do so. As Simon pointed out, you cannot do this, by design. RRDTool performs continuous consolidation of data which would not be possible were you able to add data in the past. If you have a large amount of historical data to add in one go, then you could do it by creating a separate RRD file for this new data, then using an RRD merge function to merge the two together. I have an rrdmerge script in the 'extras' directory of the Routers2 software distribution you can use, and several other people have also created merge scripts; I think Tobi has added merge functionality into the RRDTool 1.5 branch as well now. This is not ideal, though, as you still get a hiccup in RRA items which overlap both sets, and you need to pick which RRD to use for which time window. Steve Steve Shipway T: +64 9 3737 599 ext 86487 E: s.ship...@auckland.ac.nz smime.p7s Description: S/MIME cryptographic signature ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Re: [rrd-users] python-rrd doesn't know --left-axis-formatter
On Wed, Mar 9, 2016 at 5:05 AM,wrote: > Hello there, > > I'm using python-rrdtool 1.4.8 (and rrdtool 1.4.8) on a raspberry Pi. It > has been installed via apt-get from mirrordirector.raspbian.org > > When I try to use --left-axis-formatter in a rrd-graph, I encounter: > rrdtool.error: unknown option '--left-axis-formatter' > The --left-axis-formatter option wasn't added until v1.5.0 (at least, that's when it first appears in the documentation). > > And same thing if I try directly in bash. > > Do I need an earlier version ? No, you need a later version. > And more: why the last stable version is not in debian nor raspbian > repositories ? > Repositories usually don't contain the very latest releases of software for stability and security reasons. ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
[rrd-users] python-rrd doesn't know --left-axis-formatter
Hello there, I'm using python-rrdtool 1.4.8 (and rrdtool 1.4.8) on a raspberry Pi. It has been installed via apt-get from mirrordirector.raspbian.org When I try to use --left-axis-formatter in a rrd-graph, I encounter: rrdtool.error: unknown option '--left-axis-formatter' And same thing if I try directly in bash. Do I need an earlier version ? And more: why the last stable version is not in debian nor raspbian repositories ? Regards, CrazyCat ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Re: [rrd-users] Adding data in the past
Olivier Nicolewrote: > I am stuck with aan annoying issue with rrdtool. > > I want to add data in the past but cannot figure how to do so. You can't That's a design feature, not a bug. > So far, I have only added data now, but I want to reconstruct an history > from data gathered from an older log file. The *ONLY* way to do it is to start a new RRD file, with a start time before your first data point, and then feed the data in in increasing timestamp order. It gets tricky if some of the data you need to enter is actually in an RRD file and has already been consolidated - but that can (mostly) be worked around. A bit more detail. RRD is not a regular database - it's a highly specialised one designed for one task (originally storing router traffic data). It doesn't have an arbitrary table that can have data inserted willy nilly - it has a circular buffer of predetermined size (set at database creation time) which only supports updated with time going forward (values actually stored depend on previous data). In fact, other than (IIRC) the last value entered, not a single value you put in is stored ! All stored values are calculated on-the-fly and the data to update a previously entered value and recompute the stored value simply doesn't exist. Alex has some great tutorials at http://rrdtool.vandenbogaerdt.nl I suggest starting with "Rates, normalizing and consolidating" and "Describing the past, not predicting the future". ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
[rrd-users] Adding data in the past
Hi, I am stuck with aan annoying issue with rrdtool. I want to add data in the past but cannot figure how to do so. So far, I have only added data now, but I want to reconstruct an history from data gathered from an older log file. I am trying: $ rrdtool update PUA.Win32.Packer.Upx-48.rrd 1425432131:1 ERROR: PUA.Win32.Packer.Upx-48.rrd: illegal attempt to update using time 1425432131 when last update time is 1457517650 (minimum one second step) Which obviously is not working, but I cannot see where is my error. 1425432131 is the tmiestamp for Wed Mar 4 08:22:11 2015 Thanks in advance, Olivier -- ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users