[rrd-users] Re: Problems with large counters?

Darren Gamble Darren.Gamble at sjrb.ca
Mon Mar 17 20:17:47 MET 2003

Good day,

> From my brief look at source rrd_diff() function is called 
> with input and
> previous
> value to compute double difference. The function does not 
> handle floating
> point
> numbers and it definitely does not handle scientific notation 
> (E+ thingie).
> Try to convert your measurement to long long before you feed 
> them to rrdtool

Thanks for everyone's help with tracking this down.  I was not aware that
rrdtool only used integers for COUNTER- I didn't/don't see that on the
rrdcreate man page.

As I mentioned, this is done via PHP- which doesn't have a "long long" type
AFAIK- large integers are stored as floats.  I should be able to format the
output in some way that makes it appear as an integer though, which should
fix this problem.

Thanks again!

Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list