[rrd-users] Not a simple unsigned integer

Paul Watson paul at oninit.com
Fri Apr 20 16:42:34 CEST 2012


True but .....

Having reset ALL the rrds and then ran the raw data through successfully
with rrdtool 1.3.8 I then reset again and ran with rrdtool 1.4.7 and got the
following

stats_00093.rrd: not a simple unsigned integer: '-4997672'
stats_00095.rrd: not a simple unsigned integer: '-6556514'
stats_00109.rrd: not a simple unsigned integer: '-5429246'
stats_00166.rrd: not a simple unsigned integer: '-1904720'
stats_00167.rrd: not a simple unsigned integer: '-6629670'
stats_00172.rrd: not a simple unsigned integer: '-3321973'
stats_00178.rrd: not a simple unsigned integer: '-5320095'
stats_00179.rrd: not a simple unsigned integer: '-7117550'
stats_00253.rrd: not a simple unsigned integer: '-3944869'
stats_00300.rrd: not a simple unsigned integer: '-6854738'

Note the rrds are number sequentially and the problem only affects  some
rrds, all are defined that same. I am NOT passing in negative data, and ALL
the data is taken from a database where the columns are defined as integer
(8 bytes).  

Cheers
Paul

-----Original Message-----
From: Tobias Oetiker [mailto:tobi at oetiker.ch] 
Sent: Friday, April 20, 2012 9:38 AM
To: Paul Watson
Cc: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] Not a simple unsigned integer

Hi Paul,

Today Paul Watson wrote:

> Moved back to version 1.3.8 and the problem went away

in all likelihood this does remove the symptom, not the cause ...
rrdtool before 1.4 was a bit to relaxed in complaining about bad input.

have a look at what you are trying to put into rrdtool ...

cheers
tobi

>
>
> Cheers
>
> Paul
>
>
>
> 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 ?
>
> Cheers
> Paul
>
>
> 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
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-users mailing list