rrdtool - RRD graphs in Zenoss showing NaN on large time ranges -


i trying create command json datasource monitor values, example such script:

print json.dumps({     'values': {         '': {'random': random()},     },     'events': [] }) 

and when starting zencommand, appropriate rrd file created, cur, avg , max values on graph shows me nan. nans replaced actual numbers when zoom in current point in time, not far start of monitoring.

why don't show correct min, max , avg values before zoom in? somehow related consolidation? read http://www.vandenbogaerdt.nl/rrdtool/min-avg-max.php, page don't tell nan values.

and way quicker zoom in current timestamp see data faster?

when zoomed out, you'll looking @ lower-granularity rras (round robin archives). these not populated until enough data in higher-granularity ones; so, example, if have 5min-granularity rra, 1hr-granularity rra, , 1day-granularity rra, , have collected data last 45min, see ~8 data points in 'daily' graph (which uses 5min rra), nothing in 'monthly' (which use 1hr rra) or 'yearly' (which uses 1day rra).

this applies rra; avg, last, max, etc. until consolidated time window complete, , full complement of primary data points has been collected consolidation, consolidated data point value undefined.

rrdtool picks rra use based on requested graph data width , pixel width, requested consolidation functions. although there ways force rrdtool use higher-granularity rra needs to, , consolidate on fly, inefficient , slow. makes having lower-granularity rra pointless , throws away 1 of major benefits of rrdtool (that performs consolidation @ update time making graphing faster)


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -