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

Tobias Oetiker oetiker at ee.ethz.ch
Wed Aug 18 01:28:49 MEST 1999


Yesterday you sent me mail regarding Re: [rrd-users] MRTG to RRD XML file:

*> 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?

you should not take this aproach ... relying on the line count will fail ... 

you need to write a little program which integrates (math) the space under the 4
curves described by the values in the *.log file and then use this data to
calculate (math) the values which go into the different RRAs ... 

cheers
tobi

-- 
 ______    __   _
/_  __/_  / /  (_) 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