Re: Doing math on multiple datasources and graphing result

Clarke Morledge <[email protected]> Fri, 11 Jan 2008 18:22:38 -0500 (EST)
Newsgroups gmane.network.cricket.user
Message-ID <Pine.SOC.4.60.0801111820490.14330@stat>
Lovely typos :-(

datasource      bytecount
         rrd-ds-type     = COMPUTE
         rrd-cdef        = ds1,2,*,32,*,ds0,+

Yeah, the exponential operator appears to be a no-go....

Clarke Morledge
College of William and Mary

----------------------------------------------
Date: Fri, 11 Jan 2008 18:19:23 -0500 (EST)
From: Clarke Morledge <[email protected]>
To: "Richman, Marc" <[email protected]>
Cc: [email protected]
Subject: RE: [cricket-users] Doing math on multiple datasources and graphing
     result (fwd)

On Fri, 11 Jan 2008, Richman, Marc wrote:

> It's the missing exponentiation operator I mentioned in my previous
> post.
> Did that mail not make it to the list?

Marc,

Doh!

Ah, I see it now.   I was totally missing what you were saying at first.

I made another typo earlier and received an "RPN stack underflow" error, which 
is another type of RPN math error.  Not too many references to it in the 
archives.  So, at least it will be in the archives now for all posterity just 
in case someone else hits this again.

I wasn't really sure about the exponential operator (** probably does the 
trick, as you mentioned), so I just did this and it works:

datasource	bytecount
 	rrd-ds-type	= COMPUTE
 	rrd-cdef	= ds1,2,*,32*,ds0,+

Thanks for setting me straight.

Clarke Morledge
College of William and Mary
Information Technology - Network Engineering
Jones Hall (Room 18)
Williamsburg VA 23187

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace