I have RRD Files with multiple months of PDP Data (5min Interval).
For general purpose Graphs its fine, when rrdtool automatically decides which RRA to use for displaying the Graph.
But some of my Graphs contain 95-Percentile Data in the legend, which I need to be calculated from "exact" 5min-Interval Data, because calculation of Percentile from aggregated Data-Points can (by it's nature) lead to dramatically incorrect values.'
- I can
fetch
Data from RRD File with a step of 300 and I'll get the right data to calculate percentile on my own - PROBLEM: When graph'ing with a step of 300, the displayed Percentile value varies depending on the
width
of the Graph, even if the Time-Range is the same, and 300s Data is available for the whole Time-Range - if width for 1-month graph is 800px, the shown Percentile (and also max-values e.g) is wrong
- if width for 1-month graph is 8000px, the Values are correct (matching the self-calculated values from fetch'ed data)
graph:
...
--step 300
...
"VDEF:perca=a,95,PERCENT",
...
created with:
'-s', '300',
...
"RRA:AVERAGE:0.5:1:53568", # 6 months pdp
"RRA:AVERAGE:0.5:12:8904", # 1 hour, 1 year.
"RRA:AVERAGE:0.5:288:730", # 1 day, 2 years.
"RRA:AVERAGE:0.5:2016:520", # 1 week, 10 years.
"RRA:MAX:0.5:1:600", # 5 min: 2 days
"RRA:MAX:0.5:12:8904", # 1 hour, 1 year.
"RRA:MAX:0.5:288:730", # 1 day, 2 years.
"RRA:MAX:0.5:2016:520", # 1 week, 10 years