[rrd-users] Re: MRTG to RRD XML file

Dale Hege fhege at sover.net
Wed Aug 18 01:17:45 MEST 1999


So using the MRTG format and the RRD format from log2rrd I would do
something like this?

RRA:AVERAGE:0.5:1:600         is lines 3-603 section 2 & 3
RRA:MAX:0.5:1:600             is lines 3-603 section 4 & 5
RRA:AVERAGE:0.5:6:600         is lines 603-1203 section 2 & 3
RRA:MAX:0.5:6:600             is lines 603-1203 section 4 & 5
RRA:AVERAGE:0.5:24:600        is lines 1203-1803 section 2 & 3
RRA:MAX:0.5:24:600            is lines 1203-1803 section 4 & 5
RRA:AVERAGE:0.5:288:732       is lines 1803-end section 2 & 3
RRA:MAX:0.5:288:732           is lines 1803-end section 4 & 5

For which values in the xml should I calculate?

-Dale

On Wed, 18 Aug 1999, Tobias Oetiker wrote:

> Yesterday you sent me mail regarding Re: [rrd-users] MRTG to RRD XML file:
> 
> *> On Wed, 18 Aug 1999, Tobias Oetiker wrote:
> *> 
> *> > Yesterday you sent me mail regarding [rrd-users] MRTG to RRD XML file:
> *> > 
> *> > *> 
> *> > *> Has anyone created a tool that will create a RRD sytle xml file from the
> *> > *> MRTG log files? I tried but I can't seem to get it right. 
> *> > 
> *> > very good iea .... make one ... go go ... ask any questions you have I'll be
> *> > glad to answer ... 
> *> > 
> *> 
> *> Well, I can convert the data and get it graphed with MAX values but as
> *> soon as I do an update the graphs go hay wire and I loos the MAX,MIN, &
> *> AVERAGE values. That's if I don't dump core. :)
> 
> the important thing to keep in mind when doing this conversion is that you
> actually need todo some math as you go ...
> 
> in mrtg you have a logfile which reduces the resolution as you go along ...
> first it is a 5 minutes then it drops to 30 minutes and so on ... in rrdtool
> every RRA contains all the data starting from the current point in time. So
> you need to do some math as you tag along to fill in the blanks in the low
> resolution RRAs ...
> 
> cheers
> tobi*> 
> *> -Dale
> *> 
> *> 
> *> > cheers
> *> > tobi
> *> > *> 
> *> > *> Thanks for any help,
> *> > *> 
> *> > *> -Dale
> *> > *> 
> *> > *> --
> *> > *> * To unsubscribe from the rrd-users mailing list, send a message with the
> *> > *>   subject: unsubscribe to rrd-users-request at list.ee.ethz.ch
> *> > *> 
> *> > *> 
> *> > 
> *> > -- 
> *> >  ______    __   _
> *> > /_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
> *> >  / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
> *> > /_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker
> *> > 
> *> 
> 
> -- 
>  ______    __   _
> /_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
>  / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
> /_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker
> 

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch



More information about the rrd-users mailing list