[rrd-users] Re: conversion

Serge Maandag serge.maandag at staff.zeelandnet.nl
Wed Sep 25 09:46:49 MEST 2002


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:joe at tormented.org] 
Sent: Wednesday, September 25, 2002 6:42 AM
To: rrd-users at list.ee.ethz.ch
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: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