[mrtg] how the 30 min avg is calculated and stored in log file

Steve Shipway s.shipway at auckland.ac.nz
Mon Oct 26 22:15:01 CET 2009


>  Can any tell me how MRTG calculates this 30 min avg. I mean does MRTG
> takes
> the 6 data point sampled at 5 min interval and then add all the 6 data
> values, then divide by 6 to get the 30 min avg. Or is there some other
> calculation.

It is the Mean average of the individual data points which make up the consolidated date point.

IE, for a 30min average, it is the sum of the 6 data values divided by 6.

As well as for native mode log files, this is also the case for RRDTool databases.

HTH

Steve



More information about the mrtg mailing list