[rrd-users] Bulk updating rrd - how???

John Goor nlgoor01 at EY.NL
Fri Sep 13 08:49:45 MEST 2002


When I have the following script:

# RRD DEFAULTS
my $start       = "1022925300"; # When should the database start?
my $dsn         = "data";       # DataSourceName
my $dst         = "ABSOLUTE";   # DataSourceType
my $min         = "U";          # What is the minimum value accepted?
my $max         = "U";          # What is the maximum value accepted?
my $int         = 300;

RRDs::create   ($rrd, "--start", "$start",
                "DS:$dsn:$dst:$int:$min:$max",
                "RRA:AVERAGE:0.5:1:10");

The next problems and questions arise:
- when i fetch the database, 295 lines show up.
I expect 10 lines however (for 10 samples are specified in the RRA)
- I want the db to start at the time specified, 1022925300 because the data
I enter starts at 1022925600.
When I use RRDs::fetch (the script from the tutorial),1031863200 shows up
as the last date and 1031776500 as the first.

There should be a way to bulk-update isn't there?
I did a post earlier, got a reply, tried to follow the instructions but did
not succeed.

My assumption is the next:
when I create a database and I have already data waiting, I must be able to
fill the rrd with the history-data to achief relevant statistics
immediately and don't have to wait 1 week to get a last week's average. I
don't understand why this should'n be supported, so I expect someone can
help me.

Thanks in advance!
Regards,
John

P.S.
I'd appreciate if anyone could give me some sample lines which will prove
my assumption to be true.



Can someone help me?



===================================================================
De informatie verzonden in dit e-mailbericht is vertrouwelijk en is
uitsluitend bestemd voor de geadresseerde. Openbaarmaking,
vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan
derden is, behoudens voorafgaande schriftelijke toestemming van Ernst &
Young, niet toegestaan. Ernst & Young staat niet in voor de juiste en
volledige overbrenging van de inhoud van een verzonden e-mailbericht, noch
voor tijdige ontvangst daarvan. Ernst & Young kan niet garanderen dat een
verzonden e-mailbericht vrij is van virussen, noch dat e-mailberichten
worden overgebracht zonder inbreuk of tussenkomst van onbevoegde derden.

Indien bovenstaand e-mailbericht niet aan u is gericht, verzoeken wij u
vriendelijk doch dringend het e-mailbericht te retourneren aan de verzender
en het origineel en eventuele kopieën te verwijderen en te vernietigen.

Ernst & Young hanteert bij de uitoefening van haar werkzaamheden algemene
voorwaarden, waarin een beperking van aansprakelijkheid is opgenomen. De
algemene voorwaarden worden u op verzoek kosteloos toegezonden.
=====================================================================
The information contained in this communication is confidential and is
intended solely for the use of the individual or entity to whom it is
addressed. You should not copy, disclose or distribute this communication
without the authority of Ernst & Young. Ernst & Young is neither liable for
the proper and complete transmission of the information contained in this
communication nor for any delay in its receipt. Ernst & Young does not
guarantee that the integrity of this communication has been maintained nor
that the communication is free of viruses, interceptions or interference.

If you are not the intended recipient of this communication please return
the communication to the sender and delete and destroy all copies.

In carrying out its engagements, Ernst & Young applies general terms and
conditions, which contain a clause that limits its liability. A copy of
these terms and conditions is available on request free of charge.
===================================================================





--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list