Community discussions

 
alfred998
newbie
Topic Author
Posts: 31
Joined: Fri Apr 27, 2018 4:58 pm

Possible bug in stats for SwOS 2.0 in CSS326 ?

Wed Jul 25, 2018 5:36 pm

I cant make heads or tails of the stats (Rx Bytes and Tx Bytes) I get from my two MikroTiks CSS326-24G-2S.

At first I couldn't explain some of the traffic in several ports and started to keep a record.
Then according to my records, the traffic in some of the ports decreased from one day to the other, by as much as 3GB.

As far as I know these aren't daily records, but accumulated over time, and there is no way to reset the count for just one port.

This are the records I have kept for the last three days :

Traffic.png
NB. Delta 1d is the difference with the previous day. Last data are taken 8 days from the last reset of the counters.


Is this a bug or have I got something completely wrong ?
You do not have the required permissions to view the files attached to this post.
Last edited by alfred998 on Mon Jul 30, 2018 4:06 pm, edited 1 time in total.
 
pe1chl
Forum Guru
Forum Guru
Posts: 5830
Joined: Mon Jun 08, 2015 12:09 pm

Re: Possible bug in stats for SwOS 2.0 in CSS326 ?  [SOLVED]

Wed Jul 25, 2018 5:48 pm

You are sure you are reading 64-bit values and not 32-bit which will wrap around when exceeding 4GB?
 
alfred998
newbie
Topic Author
Posts: 31
Joined: Fri Apr 27, 2018 4:58 pm

Re: Possible bug in stats for SwOS 2.0 in CSS326 ?

Wed Jul 25, 2018 6:00 pm

I'm reading these two here. Not sure if they are 32/64-bit.
If there is a wrap around at 4GB, it could explain it completely. Is there another way to keep an eye on traffic using SwOS ?

Traffic-2.png
You do not have the required permissions to view the files attached to this post.
 
pe1chl
Forum Guru
Forum Guru
Posts: 5830
Joined: Mon Jun 08, 2015 12:09 pm

Re: Possible bug in stats for SwOS 2.0 in CSS326 ?

Wed Jul 25, 2018 7:13 pm

Of course you would use SNMP for that, but there are 32-bit and 64-bit values.
It may also help when you update the OS as quite a common fix listed in those release notes is to make those values 64-bits.
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 1740
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: Possible bug in stats for SwOS 2.0 in CSS326 ?

Wed Jul 25, 2018 7:16 pm

do you have the latest version of SW os?
 
User avatar
k6ccc
Member
Member
Posts: 479
Joined: Fri May 13, 2016 12:01 am
Location: Glendora, CA, USA (near Los Angeles)

Re: Possible bug in stats for SwOS 2.0 in CSS326 ?

Thu Jul 26, 2018 12:06 am

SwitchOS 2.7 and below used 32 bits for the stats. Real easy to roll over. VERY likely what you are seeing. According to the release notes for 2.8 (just released) one of the changes:
*) use 64bit counters under Stats tab for byte accounting;
RB750Gr3, RB750r2, CRS326-24G-2S (in SwitchOS), CSS326-24G-2S, CSS106-5G-1S, RB260GS
Not sure if I beat them in submission, or they beat me into submission


Jim
 
alfred998
newbie
Topic Author
Posts: 31
Joined: Fri Apr 27, 2018 4:58 pm

Re: Possible bug in stats for SwOS 2.0 in CSS326 ?

Thu Jul 26, 2018 12:21 pm

How do I use SNMP to connect to SwOS ?

I was on SwOS 2.0 until now, and just upgraded one of the switches to 2.8. I will report back if the counter goes indeed beyond 4GB now.

Thx to all, I didn't think this would be solved.
 
alfred998
newbie
Topic Author
Posts: 31
Joined: Fri Apr 27, 2018 4:58 pm

Re: Possible bug in stats for SwOS 2.0 in CSS326 ?

Thu Jul 26, 2018 4:45 pm

It's confirmed. The reason was a wrap around at 4GB because of a 32bit variable for the counters. In SwOS 2.8 it becomes 64bit and the counters make sense now.
This was really helpful.
 
User avatar
k6ccc
Member
Member
Posts: 479
Joined: Fri May 13, 2016 12:01 am
Location: Glendora, CA, USA (near Los Angeles)

Re: Possible bug in stats for SwOS 2.0 in CSS326 ?

Thu Jul 26, 2018 5:37 pm

Happy I could help.
RB750Gr3, RB750r2, CRS326-24G-2S (in SwitchOS), CSS326-24G-2S, CSS106-5G-1S, RB260GS
Not sure if I beat them in submission, or they beat me into submission


Jim
 
Kennethven
just joined
Posts: 3
Joined: Fri Dec 07, 2018 1:11 am

Possible bug in stats for SwOS 2 0 in CSS326

Tue Dec 11, 2018 9:17 pm

just send me IM with your e-mail address as it is easier for me to attach files etc.

Also I have just created a example of table similar to one you have but in table with CSS style applied.
Лучший сайт знакомств в любом городе и даже стране! Перейти https://bit.ly/2RWchW9
 
User avatar
k6ccc
Member
Member
Posts: 479
Joined: Fri May 13, 2016 12:01 am
Location: Glendora, CA, USA (near Los Angeles)

Re: Possible bug in stats for SwOS 2.0 in CSS326 ?

Tue Dec 11, 2018 11:05 pm

Kennethven,
This thread is almost 5 months old. Who are you even directing that to? And there is no PM capability on this forum.
RB750Gr3, RB750r2, CRS326-24G-2S (in SwitchOS), CSS326-24G-2S, CSS106-5G-1S, RB260GS
Not sure if I beat them in submission, or they beat me into submission


Jim

Who is online

Users browsing this forum: No registered users and 2 guests