[rrd-users] Re: unknown problem with rrdtool

claudiu at rdscj.ro claudiu at rdscj.ro
Fri Jul 12 14:46:32 MEST 2002



Thank you. I solved the problem. I vas readind values using snmpget() from PHP which was returning ASCII results. I was doing intval() conversion vhich returns 32bit integers while my counters are 64bit.


Quoting Alex van den Bogaerdt <alex at ergens.op.HET.NET>:

> 
> claudiu at rdscj.ro wrote:
> 
> > 1026246000: 1.1249871111e+02
> > 1026246300: 0.0000000000e+00
> > 1026246600: 0.0000000000e+00
> > 
> > and from that moment only 0-es
> > 
> > an info for that rrd file look like this:
> > 
> > last_update = 1026463526
> > ds[data].type = "COUNTER"
> > ds[data].minimal_heartbeat = 900
> > ds[data].min = 0.0000000000e+00
> > ds[data].max = NaN
> > ds[data].last_ds = "2147483647"
> 
> This is MAXINT.  Probably an error in your program or in the snmp
> implementation of the device.
> 
> To be fair: it *is* possible that the counter returned is maxint, so
> better check another time.
> 
> If this number does stay MAXINT, it is only logical that RRDtool
> computes zero rate.
> 
> cheers,
> -- 
>    __________________________________________________________________
>  / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
> | work                                                         private |
> | My employer is capable of speaking therefore I speak only for myself |
> +----------------------------------------------------------------------+
> | Technical questions sent directly to me will be nuked. Use the list. | 
> +----------------------------------------------------------------------+
> | http://faq.mrtg.org/                                                 |
> | http://rrdtool.eu.org  --> tutorial                                  |
> +----------------------------------------------------------------------+
> 
> --
> 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://www.ee.ethz.ch/~slist/rrd-users
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
> 
> 


--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list