[rrd-users] Start time with rrdtool create

Tobias Oetiker tobi at oetiker.ch
Fri Jul 6 23:33:32 CEST 2007


Glenn

you are on the wrong track ... if rrdtool is not happy with the
time, it will complain ... my guess is that either:

a) your updates are further apart than you have defined with mrhb

b) your data is outside the limits defined for the datasource
   (upper and lower).

in both cases rrdtool will silently ignore your data ...

cheers
tobi


Today Glenn MacGregor wrote:

> Sorry for the multiple posts but I am stuck in a hole here.
>
> I have hundreds of archived XML files which contain data that I would
> like to put into rrd files. I process the files looking for the oldest
> timestamp, I then create an rrd file using that time (unix time). I
> start adding to this file using update, but nothing gets added. I assume
> this is due to the rra/rrd not have my specified starting time. Is there
> anyway to use rrd for this type of application?
>
> Thanks
>
>  Glenn
>
> -----Original Message-----
> From: rrd-users-bounces at lists.oetiker.ch
> [mailto:rrd-users-bounces at lists.oetiker.ch] On Behalf Of Glenn MacGregor
> Sent: Friday, July 06, 2007 3:16 PM
> To: Tobias Oetiker
> Cc: rrd-users at lists.oetiker.ch
> Subject: Re: [rrd-users] Start time with rrdtool create
>
> Let me add to my last post.
>
> rrdtool create test.rrd --step 300 --start 1182758400
> DS:sr:GAUGE:600:U:U RRA:AVERAGE:0.5:1:1200
>
> rrdtool dump test.rrd > test.xml
>
> You will notice the last entry in the only rra is the start time. This
> is not what I would expect.
>
> Thanks
>
>  Glenn
>
> -----Original Message-----
> From: Tobias Oetiker [mailto:tobi at oetiker.ch]
> Sent: Friday, July 06, 2007 11:22 AM
> To: Glenn MacGregor
> Cc: rrd-users at lists.oetiker.ch
> Subject: Re: [rrd-users] Start time with rrdtool create
>
> Gelnn,
>
> use rrdtool info or rrdtool dump to see what is in the rrd file ...
> rrdxport is for reports ...
>
> cheers
> tobi
>
> Today Glenn MacGregor wrote:
>
> > Hi All,
> >
> > I am using rrdtool 1.2.23 trying to create a rrd file starting 1 month
>
> > ago.
> >
> > rrdtool create test.rrd --step 300 --start 1180670400
> > DS:param:GAUGE:600:U:U RRA:AVERAGE:0.5:1:1200 RRA:AVERAGE:0.5:6:336
> > RRA:AVERAGE:0.5:24:372 RRA:AVERAGE:0.5:144:730
> >
> > output from rrdtool xport:
> > <start>1183646700</start>
> > <step>300</step>
> > <end>1183733100</end>
> >
> > As you can see the start time is quite a bit different than the start
> > time I input. Is there a reason for this discrepancy?
> >
> > Thanks
> >
> >  Glenn
> >
> >
> >
> >
>
> --
> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
> http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902



More information about the rrd-users mailing list