[rrd-users] suppressing DSes with avg of NaN when graphing?

Simon Hobson linux at thehobsons.co.uk
Fri Sep 28 08:56:22 CEST 2007


R.P. Aditya wrote:
>I often have RRD graphs of 10s of DSes to graph and frequently many of the
>DSes don't have any values for the timeperiod. Given the limited number of
>colors, many of the DSes share the same color, so I'm interested in NOT
>graphing or having the legend for just those DSes which:
>
>- have an average (or whatever CF) of NaN (or ideally a value that can be
>specified, like 0)
>
>- or haven't been updated since the start value for the graph.
>
>I can't think of a way to do this in RRD graph directly, but rather would have
>to be done in the picking of the DSes phase...

Do two runs through - one to get a list of values/list of DSs/however 
you work it; then a second to draw a graph using only those selected 
in the first phase.



More information about the rrd-users mailing list