It is in bytes. It's the number of bytes that have passed through the
interface since it started counting or since the counters wrapped.

So the number itself is probably meaningless. It's the change in value
in a known interval that makes it interesting. Therefore, store it as a
counter value. Rrdtool will compute (new value - old value) / timespan
and store it in the database.

serge Maandag.

-----Original Message-----
From: Joe Rozzi [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 25, 2002 6:42 AM
To: [email protected]
Subject: [rrd-users] conversion


Hi, I'm using snmpwalk on a switch to get bandwidth data. Say I have a
line like the following:
IF-MIB::ifInOctets.14 = Counter32: 2049398269
 
How would I mathematically go about converting that number into bytes
(decimal). Is it already in decimal? Or what? Thanks in advance.
 
Joe Rozzi


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to