[rrd-users] Strange Data with 64bit Couters

Reinartz, Ralf Ralf.Reinartz at msg.maxdata.de
Thu Jul 11 10:57:21 MEST 2002


I have a strange problem using rrd and 64Bit Interface Counters.

The interfaces are 2GBit Trunks with good load (around 30% i.e. 600 and more

With code at the end of this Message I create and update the RRD Databases.

And now the Problem:

The values I get with rrd graph are higher than the bandwith.
Where is my misstake?




use strict;

use Data::Dumper;
use Convert::BER;
use SNMP_Session ;
use SNMP_util "0.71";
use DBD::mysql;

#  ---- CUT ------some code for MYSQL Connection

snmpmapOID("in","");# 64 Couter inOketes

# ---CUT--- some code to get interfacelist from DB

while (my $set=$sth->fetchrow_hashref() ){
  if (! -e "/home/ralf/ph/rrd/$set->{ip}.$set->{ifIndex}.rrd"){

    system("rrdtool create /home/ralf/ph/rrd/$set->{ip}.$set->{ifIndex}.rrd
DS:inoktets:COUNTER:600:U:U DS:outoktets:COUNTER:600:U:U
RRA:AVERAGE:0.5:1:8928 RRA:AVERAGE:0.5:12:8784");

 my $zeit=time;

 print "i: $i    o:$o\n";
 system("rrdtool update /home/ralf/ph/rrd/$set->{ip}.$set->{ifIndex}.rrd -t
inoktets:outoktets $zeit:$i:$o");


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