[rrd-users] Not a simple unsigned integer

Ryan Kubica kubicaryan at yahoo.com
Mon Apr 16 01:29:28 CEST 2012

Negative numbers for GAUGE or Counter types?

If Counter, that could be signed 32bit counters (31bit numbers with 32 sign bit being a count back up from from -31bit to 0) ... rrdtool doesn't quite get that calculation correct so I correct for it before inserting into rrdtool.  The only counters of this type I've run into are WMI and WebLogic, but that's just an aside.

If Gauge, not sure.

How large is largish?  I don't suspect rrdtool will want a negative counter that is larger than 32bit since it does seem to try and do the signed 32bit counter rollover math.

and I don't know why your use of it would change, maybe it wasn't complaining before ... it's been a long time since I've used 1.3.

I suggest you play with an rrd datafile and insert numbers to see exactly what breaks and if you believe it's a bug/missing-feature then post about it with the details.

 From: Paul Watson <paul at oninit.com>
To: 'Ryan Kubica' <kubicaryan at yahoo.com>; rrd-users at lists.oetiker.ch 
Sent: Sunday, April 15, 2012 9:20 AM
Subject: RE: [rrd-users] Not a simple unsigned integer

Nope, all the numbers are integers, integer8 – the reported numbers that are failing  all appear to be large (ish) negative numbers
From:Ryan Kubica [mailto:kubicaryan at yahoo.com] 
Sent: Saturday, April 14, 2012 11:28 PM
To: paul at oninit.com; rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] Not a simple unsigned integer
Your code might be intermittently inserting floats for COUNTER, DERIVE or ABSOLUTE datasource types.  Only integers are permitted on those datasource types.


From:Paul Watson <paul at oninit.com>
To: rrd-users at lists.oetiker.ch 
Sent: Friday, April 13, 2012 2:14 PM
Subject: [rrd-users] Not a simple unsigned integer

I've just upgraded from 1.3.8 to 1.4.7 - nothing else has changed and now
I'm getting 'Not a simple unsigned integer' on around 2% of my updates on
the rrd files, I have around 10K rrd files.  All are defined the same and
all take similar data input

I'm stuck as to why - anyone any ideas ?


Paul Watson
Oninit www.oninit.com
Advanced DataTools www.advancedatatools.com
Tel: +1 913 674 0360
Cell: +1 913 387 7529

Failure is not as frightening as regret.
If you want to improve, be content to be thought foolish and stupid.

rrd-users mailing list
rrd-users at lists.oetiker.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20120415/82f12155/attachment-0001.htm 

More information about the rrd-users mailing list