<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi!<br>
<br>
I remember submitting a patch to Tobi that defines a CDEF called AVG,
that does ignore NULL values.<br>
I now did check if this is in the SVN branch and I can confirm this is
included.<br>
Maybe this is what you can use...<br>
<br>
Martin<br>
<br>
P.s: I remember having used a very complex CDEF to work around this for
just 4 values and the patch to rrdtool was much shorter ;)<br>
<br>
Simon Hobson wrote:
<blockquote cite="mida06230900c1f35d3bfb3d@%5B192.168.0.126%5D"
 type="cite">
  <pre wrap="">George Barnett wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">I'm aggregating boxes into a graph to draw a cluster and I'm getting
null values.

Is there a maximum number of datasources in 1 graph?

Is there a maximum size of a cdef?

I've found that if I do this with only a few DS's, it works fine.  Maybe
somebody has tried this before?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
&lt;snip&gt;

  </pre>
  <blockquote type="cite">
    <pre wrap="">"CDEF:gclient_requests=1aggavgclient_requests,2aggavgclient_requests,+,3aggavgclient_requests,+,4aggavgclient_requests,+,5aggavgclient_requests,+,6aggavgclient_requests,+,7aggavgclient_requests,+,8aggavgclient_requests,+,9aggavgclient_requests,+,10aggavgclient_requests,+,11aggavgclient_requests,+,12aggavgclient_requests,+,13aggavgclient_requests,+,14aggavgclient_requests,+,15aggavgclient_requests,+,16aggavgclient_requests,+,17aggavgclient_requests,+"\
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Are you aware that if ANY of the values is unknown them the result is 
unknown ? So for example, if you were not collecting samples for one 
system for a while, then you would have a gap in the graph.

You have to do a test for unknown values and replace them with zeros 
before adding them all together. Have a look back through the 
archives, it's come up before.

_______________________________________________
rrd-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>