I verified that with the historic view and raw data. The content in the database is fine. I have values for nearly every 5 Minute (the interval my script runs). So thats ok and not the problem.
It is more interesting to find out, when PRTG adds the values together and when PRTG builds averages.
If i use the "historical" function, i can select the "Average Interval" to 60min. Now (like it is written in "average interval" the software will add the 12 counters (5min each) together and show them as average (not as a sum).
Compare it with out "buildIn" Counters for a network card. The availible channels here are:
Downtime, Total Trafficin, Traffic out and Pakets. So we have 5 channels.
But in the Chart view we have 9+1 rows.
Total (volume), Total (Speed)
Traffic in (Volume, Traffic in (Speed)
Traffic (Volume), Traffic Out (Speed)
Packets (Volume), Packets (Speed)
Downtime and Coverage.
So there is some kind of logic/configuration here to tell PRTG that it should not calculate the Averages (as (Speed) only. PRTG also creates a "SUM"
And thats, the important (and interesting) thing in counting messages (items and Size)
if a system sends 2 messages/Minute the script returns "10". And PRTG counts 10 per data point.
A diagram with 60min per datapoint should show 120 and not the average of 10
A diagram with 1Day per datapoint should show 2880 and not the average of 10.
I have not seen a setting in the gui nor the XML-result to tell PRTG adding the individual counters instead of building averages.
Frank
Add comment