[rrd-users] Re: Problems with large counters?
Darren.Gamble at sjrb.ca
Mon Mar 17 20:17:47 MET 2003
> From my brief look at source rrd_diff() function is called
> with input and
> value to compute double difference. The function does not
> handle floating
> 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.
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users