[rrd-users] Working with linear slope calculations
A Darren Dunham
ddunham at taos.com
Tue Jan 22 16:52:35 CET 2008
On Tue, Jan 22, 2008 at 08:00:39AM +0000, Simon Hobson wrote:
> If you need to convert within the graph, then simply plug in the
> correct figures to an RPN expression, eg :
>
> t=p,400,*,86400,/,s,+
>
> Given p as the number of pixels found from some other calculation,
> 400 & 86400 are the graph width and duration as given in the graph
> command, and s is the graph start time (also given implicitly or
> explicitly in the graph command); then t is the time you are looking
> for.
That's the bit I'm trying to avoid. It seems like I have to hardcode
the size of the graph within a calculation. That makes changing things
significantly more complex. From your suggestion, I take it there's no
way to poll for those values directly?
--
Darren Dunham ddunham at taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
More information about the rrd-users
mailing list