[Resolved] Counter64 For Linux in / out

I have managed to fix this using an SNMPd config on my Linux VMs.

I basically exclude the counter32 values for the interface MIBs.

Example from snmpd.conf

## LibreNMS MIBs (restricted for faster polling)
## ---------------------------------------------------------
# Inc. System Info (name/loc) OIDs
view    libre-mibs      included        .1.3.6.1.2.1.1

# Include Interface MIBs
view    libre-mibs      included        .1.3.6.1.2.1.2

# Include Interface MIBs w/ 64 bit counters for high traffic boxes
view 	libre-mibs 	included	1.3.6.1.2.1.31

# Exclude 32 bit counters as high traffic boxes overflow
view	libre-mibs	excluded 	.1.3.6.1.2.1.2.2.1.10
view    libre-mibs      excluded        .1.3.6.1.2.1.2.2.1.11
view    libre-mibs      excluded        .1.3.6.1.2.1.2.2.1.12
view    libre-mibs      excluded        .1.3.6.1.2.1.2.2.1.13
view    libre-mibs      excluded        .1.3.6.1.2.1.2.2.1.14
view    libre-mibs      excluded        .1.3.6.1.2.1.2.2.1.15
view    libre-mibs.     excluded 	.1.3.6.1.2.1.2.2.1.16
view    libre-mibs      excluded        .1.3.6.1.2.1.2.2.1.17
view    libre-mibs      excluded        .1.3.6.1.2.1.2.2.1.18
view    libre-mibs      excluded        .1.3.6.1.2.1.2.2.1.19

This seems to force the usage of the 64 bit counters instead of 32 bit counters.

2 Likes