Page 1 of 1

Discrepancy in PNP report

Posted: Thu Aug 22, 2013 7:12 am
by sattanathan
Hi,

I have attached cpu utilization PNP report for one of the server. I have seen in the yesterday report, the maximum usage of the cpu is 90.7956%. However, in the last week(including yesterday) report the cpu maximum value is showing only 90.3632%.

Please clarify why the value 90.7956% is showing in the weekly report as a maximum.

Regards,
Sattanathan.S

Re: Discrepancy in PNP report

Posted: Thu Aug 22, 2013 10:22 am
by abrist
This is most likely due to how rrdtool stores and retrieves information from the rrds. As rrds are a binary aggregate, rrdtool averages values. Additionally, after a day, values will get averaged as they get moved farther back into the past in the rrd. You will find that the larger the time frame, the more averaging of the values are performed before the image is created. The more particular/granular the time frame, like the previous day, will have higher resolution in data points.

Re: Discrepancy in PNP report

Posted: Mon Aug 26, 2013 2:20 am
by sattanathan
Thanks Abrist..

But if this is the case "data will be averaged for larger time frame" then how can i correlate the weekly/monthly/yearly and daily graphs and can attain similarity between the graphs.

Thanks,
Sattanathan.S

Re: Discrepancy in PNP report

Posted: Mon Aug 26, 2013 11:18 am
by sreinhardt
What do you mean by similarity in graphs? When rrd compresses data, it takes the min, max, and average and averages each individual value over a period of time. So for instance if it was compressing 4 weeks of data into one month point, it would take the minimums for that period, average, then store as the month average, and so on for each of the other two values. The data is still very representative of the data over that time frame, it is just not as exact as one day measurements which might still be in individual checks or hourly averages.

Re: Discrepancy in PNP report

Posted: Wed Aug 28, 2013 8:40 am
by sattanathan
Thanks Abrist & sreinhardt for clearing my doubt.

Regards,
Sattanathan.S

Re: Discrepancy in PNP report

Posted: Wed Aug 28, 2013 9:59 am
by abrist
No problem. RRDs are a bit odd. But to store this data as flat metrics would consume disk space at an astronomical rate. It is one of the necessary evils of monitoring.