[collectd] Processes plugin
Florian Forster
octo at verplant.org
Thu Jan 14 10:41:10 CET 2010
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20100114/6292d6ad/attachment.pgp
More information about the collectd
mailing list