Hi Mark, On Wed, Jan 13, 2010 at 05:55:04PM -0800, Mark Moseley wrote: > Since the 4.9.0 upgrade, I see this popping up on all of my boxes: > > Jan 13 20:35:39 server collectd[8501]: rrdtool plugin: rrd_update_r > (/var/lib/collectd/rrd/server/processes-httpd/ps_disk_octets.rrd) > failed: not a simple integer: '-1719325917'
I guess there are two bugs here: The first bug is in RRDtool / librrd. It *should* accept this value (-1719325917). I've found a bug in the checking code, but this only lead the the first character being ignored. So it would have accepted "%1719325917", too. What version of librrd are you using? The second bug is probably that there is a negative value in the first place. > There are big holes there and the 'nan' rows are about 60% of the > file. The biggest recorded value is 28858203.767. The lowest number > reported in the error message is -2147483522 (ranges all the way up to > -5). Presumably something's overflowing :) Yeah, sounds like an unsigned 32bit integer being cast to a signed one. > This isn't a big deal, just a minor annoyance, but I figured I'd > mention it. Yeah, thanks for bringing this up :) I'll take a look at the plugin and see if I can find anything. Regards, -octo -- Florian octo Forster Hacker in training GnuPG: 0x91523C3D http://verplant.org/
signature.asc
Description: Digital signature
_______________________________________________ collectd mailing list [email protected] http://mailman.verplant.org/listinfo/collectd
