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

2 messages Options
Embed this post
Permalink
Yagnesh () how the 30 min avg is calculated and stored in log file
Reply Threaded More More options
Print post
Permalink
Hi All,

I am aware that the first 600 samples in the log file are of 5 min avg. value, the rest 600 are averaged out to 30 min avg followed by 2 hours avg, then 24 hrs avg.

 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.

Please help me to find the answer  to this.

Regards,
Yagnesh Dave
+919223555126
S Shipway () Re: how the 30 min avg is calculated and stored in log file
Reply Threaded More More options
Print post
Permalink
>  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

_______________________________________________
mrtg mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg