This is a discussion on Re: [rrd-users] Maximum number of data sources/max cdef size. within the RRD Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============1480522966== Content-Type: multipart/alternative; boundary="------------050107070803000909060107" This is ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
--===============1480522966== Content-Type: multipart/alternative; boundary="------------050107070803000909060107" This is a multi-part message in MIME format. --------------050107070803000909060107 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi! I remember submitting a patch to Tobi that defines a CDEF called AVG, that does ignore NULL values. I now did check if this is in the SVN branch and I can confirm this is included. Maybe this is what you can use... Martin 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 ;) Simon Hobson wrote: > George Barnett wrote: > > >> 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? >> > > <snip> > > >> "CDEF:gclient_requests=1aggavgclient_requests,2agg avgclient_requests,+,3aggavgclient_requests,+,4agg avgclient_requests,+,5aggavgclient_requests,+,6agg avgclient_requests,+,7aggavgclient_requests,+,8agg avgclient_requests,+,9aggavgclient_requests,+,10ag gavgclient_requests,+,11aggavgclient_requests,+,12 aggavgclient_requests,+,13aggavgclient_requests,+, 14aggavgclient_requests,+,15aggavgclient_requests, +,16aggavgclient_requests,+,17aggavgclient_request s,+"\ >> > > 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 > rrd-users@lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > --------------050107070803000909060107 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!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=""><!----> <snip> </pre> <blockquote type="cite"> <pre wrap="">"CDEF:gclient_requests=1aggavgclient_reque sts,2aggavgclient_requests,+,3aggavgclient_request s,+,4aggavgclient_requests,+,5aggavgclient_request s,+,6aggavgclient_requests,+,7aggavgclient_request s,+,8aggavgclient_requests,+,9aggavgclient_request s,+,10aggavgclient_requests,+,11aggavgclient_reque sts,+,12aggavgclient_requests,+,13aggavgclient_req uests,+,14aggavgclient_requests,+,15aggavgclient_r equests,+,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> --------------050107070803000909060107-- --===============1480522966== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users --===============1480522966==-- |