[rrd-users] rrdupdate: Negative Numbers

Ryan Frantz ryanfrantz at informed-llc.com
Fri Oct 27 01:19:21 MEST 2006


All,

I've populating some RRD databases with CPU stats queried via SNMP and
SNMP-Informant for some of my Windows systems.  I noticed that
sometimes, even when the usage is 0%, my RRD DBs get populated with a
negative number.  I'm using Net::SNMP on an FC5 system.  I tried to
ensure that a value of '0' gets passed in the event that the value
reutrned by Net::SNMP's get_request() method is less than '0' (i.e.
1.0E-1) but I still occasionally get negative values (verified with
rrddump).  This is having an effect on the graphs I generate because the
decimal point is off and it looks like the CPU has a load of 33.333m%
(example) instead of 33.3%.

Anybody have any ideas?

ry

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list