Cisco interface not graphing correctly

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
AlanW
Posts: 2
Joined: Tue Oct 23, 2007 4:43 pm

Cisco interface not graphing correctly

Post by AlanW »

Hi, I have searched the forum and also other places and cannot find an answer to my problem. When I graph the interfaces on my Cisco 6500 it produces graphs which averages below a 1k in/out bits per second. That is really strange because it's a very high traffic interface and when I do a snmpwalk I get above 1GB of traffic on it. Like so:

.1.3.6.1.2.1.2.2.1.10.6 = Counter32: 1425187001
.1.3.6.1.2.1.2.2.1.10.16 = Counter32: 80061105

I was thinking that maybe it's the default 1000000000 limit that is set under "Data Source Item Fields" Maximum. I increase it under Data Sources but still no cigar. Tried to wipe all the old data and restart but still doesn't work. Apparently according to the snmpwalk it should be fine and also linux servers report their traffic correctly. Does anyone have a clue on what may be wrong here? I'm totally lost.

This is my Data Source debug info:

/usr/bin/rrdtool create \
/var/www/cacti/rra/servername_traffic_in_504.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:3000000000 \
DS:traffic_out:COUNTER:600:0:3000000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
User avatar
cflong
Posts: 17
Joined: Thu Oct 25, 2007 8:16 am
Contact:

Post by cflong »

Keep in mind that the counter value indicates that the link has transfered 1GB since the last time the counter was reset. Cacti is graphing the difference between those values over time to derive bits/s. Is it possible the interface is no longer busy?

Also, if you anticipate traffic over 100mb/s, then you should use the Counter64 oid. Counter32 becomes invalid for values over 114mb/s or so when polling every 5 minutes.
Xumet
Posts: 18
Joined: Thu Mar 16, 2006 12:02 pm

Post by Xumet »

>.1.3.6.1.2.1.2.2.1.10.6 = Counter32: 1425187001
>.1.3.6.1.2.1.2.2.1.10.16 = Counter32: 80061105

Try to use 64bit counter instead 32bit.
AlanW
Posts: 2
Joined: Tue Oct 23, 2007 4:43 pm

Post by AlanW »

Hi, Thanks a lot for your answers. I will try and let you know. Thanks again!!!
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests