Counter Roll-Over?

User avatar
mhoppes
Associate
Associate
 
Posts: 664
Joined: Thu Apr 10, 2014 9:14 pm
Location: Pennsylvania
Has thanked: 10 times
Been thanked: 125 times

Counter Roll-Over?

Sun Feb 22, 2015 8:33 am

I'm seeing this on a 12 port switch when traffic gets above 100megabits/second. Traffic didn't die, and was still flowing, but the SNMP values appear to be resetting. The switch supports 64 bit counters, doesn't it?

Screen Shot 2015-02-22 at 7.32.31 AM.png
Screen Shot 2015-02-22 at 7.32.31 AM.png (45.9 KiB) Viewed 16895 times

User avatar
JustJoe
Experienced Member
 
Posts: 266
Joined: Sat Aug 02, 2014 11:33 pm
Has thanked: 94 times
Been thanked: 59 times

Re: Counter Roll-Over?

Sun Feb 22, 2015 2:07 pm

Is there a chance the tool you are using has the port defined as "100Mb" max by default? I know for example that MRTG can be set up this way, mostly with a max limit to keep from skewing the graph and blocking out the view of actual traffic after there actually is a reboot.

User avatar
mhoppes
Associate
Associate
 
Posts: 664
Joined: Thu Apr 10, 2014 9:14 pm
Location: Pennsylvania
Has thanked: 10 times
Been thanked: 125 times

Re: Counter Roll-Over?

Sun Feb 22, 2015 3:59 pm

Hmmm. I'll check that but I don't think so. Just had an idea though. Will report back.

User avatar
JustJoe
Experienced Member
 
Posts: 266
Joined: Sat Aug 02, 2014 11:33 pm
Has thanked: 94 times
Been thanked: 59 times

Re: Counter Roll-Over?

Sun Feb 22, 2015 4:21 pm

Also, I am remembering, weren't there a second set of counters defined in SNMP as higher speed links evolved so that there was a different set of OIDs for counters that were a larger size?

-Edit- I guess what I was remembering were the ifHC* counters that were discussed in the MRTG reference..

http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html

On that page do a find on counters

User avatar
mhoppes
Associate
Associate
 
Posts: 664
Joined: Thu Apr 10, 2014 9:14 pm
Location: Pennsylvania
Has thanked: 10 times
Been thanked: 125 times

Re: Counter Roll-Over?

Sun Feb 22, 2015 4:34 pm

Actually looks like the MRTG graph default is 100 for the upper limit -- odd, this was on a fairly new MRTG install. Anyway, I looked at the yearly graph and it was pegged at 80meg, so that very well could be what it was. I upped it to 1,000 and we'll see what happens tonight.

Thanks, been having the same issue with an EdgeRouter... I never even thought to check this.

User avatar
JustJoe
Experienced Member
 
Posts: 266
Joined: Sat Aug 02, 2014 11:33 pm
Has thanked: 94 times
Been thanked: 59 times

Re: Counter Roll-Over?

Sun Feb 22, 2015 5:00 pm

mhoppes wrote:Actually looks like the MRTG graph default is 100 for the upper limit -- odd, this was on a fairly new MRTG install. Anyway, I looked at the yearly graph and it was pegged at 80meg, so that very well could be what it was. I upped it to 1,000 and we'll see what happens tonight.

Thanks, been having the same issue with an EdgeRouter... I never even thought to check this.


Matt, I am not sure if you caught in my second post the link and the mention of the ifHC set of counters, because I did that with an edit.

What made me wonder about the 100Mb limit is that your graph did show a max number of 112Mb, and I believe that would not have gotten through either.

User avatar
mhoppes
Associate
Associate
 
Posts: 664
Joined: Thu Apr 10, 2014 9:14 pm
Location: Pennsylvania
Has thanked: 10 times
Been thanked: 125 times

Re: Counter Roll-Over?

Sun Feb 22, 2015 5:06 pm

Thanks. Just saw that now. Odd thing is I see that 112, but the other graphs seem to be throttled around 80... at any rate I upped that value in Cacti, we shall see what happens, but I'll look at the ifHC link.

User avatar
mhoppes
Associate
Associate
 
Posts: 664
Joined: Thu Apr 10, 2014 9:14 pm
Location: Pennsylvania
Has thanked: 10 times
Been thanked: 125 times

Re: Counter Roll-Over?

Sun Feb 22, 2015 5:08 pm

Ahhhh yes... ifHC... yes that's what I was originally going to look at. And in fact it's polling version 1. I'm going to see what happens with the change to 1000 from 100 and then will switch to SNMPv2 tomorrow.

User avatar
mhoppes
Associate
Associate
 
Posts: 664
Joined: Thu Apr 10, 2014 9:14 pm
Location: Pennsylvania
Has thanked: 10 times
Been thanked: 125 times

Re: Counter Roll-Over?

Sun Feb 22, 2015 8:01 pm

Ok... so neither changing to v2, nor increasing to 1000 fixed it. It's like as soon as it goes over 100 it rolls.... =\

User avatar
mhoppes
Associate
Associate
 
Posts: 664
Joined: Thu Apr 10, 2014 9:14 pm
Location: Pennsylvania
Has thanked: 10 times
Been thanked: 125 times

Re: Counter Roll-Over?

Sun Feb 22, 2015 8:38 pm

Apparently in Cacti using "Total Bandwidth" as a graph template does not have 64 bit values as default... arg.

Next
Return to General Discussion

Who is online

Users browsing this forum: No registered users and 17 guests