[rrd-users] Re: Maximum Argument Length?

Tobias Oetiker oetiker at ee.ethz.ch
Fri Aug 6 20:06:23 MEST 1999


Today you sent me mail regarding [rrd-users] Re: Maximum Argument Length?:

*> Alex van den Bogaerdt <alex at slot.hollandcasino.nl> writes:
*> 
*> > Perhaps I missed something but what is wrong with:
*> 
*> I probably did a poor job explaining what I'm actually 
*> doing currently:
*> 
*> [standard graph defs]
*> .
*> .
*> DEF:in1=1.ports.rrd:ds0:AVERAGE 
*> DEF:mx1=1.ports.rrd:ds0:MAX
*> DEF:in2=2.ports.rrd:ds0:AVERAGE 
*> DEF:mx2=2.ports.rrd:ds0:MAX
*> DEF:in3=3.ports.rrd:ds0:AVERAGE 
*> DEF:mx3=3.ports.rrd:ds0:MAX
*> DEF:in4=4.ports.rrd:ds0:AVERAGE 
*> DEF:mx4=4.ports.rrd:ds0:MAX
*> DEF:in5=5.ports.rrd:ds0:AVERAGE 
*> DEF:mx5=5.ports.rrd:ds0:MAX
*> .
*> .
*> .
*> DEF:in282=282.ports.rrd:ds0:AVERAGE 
*> DEF:mx282=282.ports.rrd:ds0:MAX
*> CDEF:tin=in1,in2,+,in3,+,in4,+,in5....in282,+
*> CDEF:tmx=mx1,mx2,+,mx3,+,mx4,+,mx5....mx282,+
*> 
*> That's how I'm currently doing it... It gets those values
*> from 282 data sources 2 times.  I'm not sure the internals
*> to the data base but it would be cool to be able to maybe
*> do a DEF:(min1,avg1,max1)=your.rrd:ds0:MIN,AVERAGE,MAX
*> That would save a redundant lookups.
*> 
*> Anyway, my original concern is should I continue to read those
*> DS dynamically to build a global graph or perhaps should I start
*> thinking of maintaing a rrd that sums all the parts and updates
*> into  the global rrd?

as I said, as long as there is not performance issue for you, rrdtool shoud
be able to handle arbitrary length arguments ... 

cheers
tobi
*> 
*> Regards,
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch



More information about the rrd-users mailing list