Potato Sack
New Around Here
First, I want to thank RMerlin for the great firmware. It's rock solid.
However, I've recently decided I wanted to turn on SNMP and generate some RRD graphs via MRTG. During this process, I've had really confusing data being provided on the WAN (eth0) port of my RT-AC66U.
I'm wondering if somebody could confirm if this is a bug somewhere or if the snmpd configuration on the device is strange, or if I'm doing something wrong that I've totally overlooked, or what.
The main issue seems to be that bandwidth reported on the WAN (eth0) interface on the router seems to only be half correct. The outbound traffic seems to be way off from what it should be, in that it's reporting very high. When I compare my MRTG graphs to the Traffic Monitor graph on the router itself, it's nowhere close. I know that MRTG is using averaged octet counts over a 5-minute period, but I should still see something of a correlation.
I have confirmed via an snmpwalk of the device that it does indeed have OIDs 1.3.6.1.2.1.31.1.1.1.6.2 and 1.3.6.1.2.1.31.1.1.1.10.2 (IfHCInOctets and IfHCOutOctets). I have actually run a tcpdump on the br0 interface of the router (via entware) explicitly looking for UDP 161 packets, and I have verified in the packet capture that MRTG is indeed polling these OIDs and getting octet counts back.
Example:
https://i.imgur.com/aRHkLjm.png (pardon the blue line, accident by me in snipping tool)
I left the packet capture running for about 30 minutes, capturing 6 5-minute samples of the IfHC* OIDs above. When I average out the values (by subtracting the previous 5-minute poll result from the current, diving by 300 (5 minutes in seconds) to arrive at a Bytes/second number, and then dividing by 1024 to get kB/s), it agrees with the MRTG graphs.
This tells me the values that the router is inserting into those OIDs, at least for the outbound traffic, appears to be incorrect.
Any idea what would cause this?
However, I've recently decided I wanted to turn on SNMP and generate some RRD graphs via MRTG. During this process, I've had really confusing data being provided on the WAN (eth0) port of my RT-AC66U.
I'm wondering if somebody could confirm if this is a bug somewhere or if the snmpd configuration on the device is strange, or if I'm doing something wrong that I've totally overlooked, or what.
The main issue seems to be that bandwidth reported on the WAN (eth0) interface on the router seems to only be half correct. The outbound traffic seems to be way off from what it should be, in that it's reporting very high. When I compare my MRTG graphs to the Traffic Monitor graph on the router itself, it's nowhere close. I know that MRTG is using averaged octet counts over a 5-minute period, but I should still see something of a correlation.
I have confirmed via an snmpwalk of the device that it does indeed have OIDs 1.3.6.1.2.1.31.1.1.1.6.2 and 1.3.6.1.2.1.31.1.1.1.10.2 (IfHCInOctets and IfHCOutOctets). I have actually run a tcpdump on the br0 interface of the router (via entware) explicitly looking for UDP 161 packets, and I have verified in the packet capture that MRTG is indeed polling these OIDs and getting octet counts back.
Example:
https://i.imgur.com/aRHkLjm.png (pardon the blue line, accident by me in snipping tool)
I left the packet capture running for about 30 minutes, capturing 6 5-minute samples of the IfHC* OIDs above. When I average out the values (by subtracting the previous 5-minute poll result from the current, diving by 300 (5 minutes in seconds) to arrive at a Bytes/second number, and then dividing by 1024 to get kB/s), it agrees with the MRTG graphs.
This tells me the values that the router is inserting into those OIDs, at least for the outbound traffic, appears to be incorrect.
Any idea what would cause this?