BGP4-MIB OIDs are not working on prod VyOS router

Hello,

1.3.6.1.2.1.15+ is not returning any values or strings on an SNMPWALK on our devices. The BGP4-MIB file is in the correct folder on the device. The BGP connections are part of an MPLS backbone.

Looking for ideas. Ran an SNMPwalk from the lowest base OIDs and still not really getting anywhere.

Thanks

Im testing this on one of the latest 1.4, and as you said, while doing a complete snmpwalk I don’t get results from BGP4-MIB.
But, since mib is located in correct folder, I was able to retrieve info. For example

vyos@vyos# sudo snmpwalk -v 2c -c public 127.0.0.1 BGP4-MIB::bgpLocalAs
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf
Cannot find module (IANAifType-MIB): At line 13 in /usr/share/snmp/mibs/IF-MIB.txt
Did not find 'IANAifType' in module #-1 (/usr/share/snmp/mibs/IF-MIB.txt)
Cannot find module (IANA-RTPROTO-MIB): At line 12 in /usr/share/snmp/mibs/IP-FORWARD-MIB.txt
Did not find 'IANAipRouteProtocol' in module #-1 (/usr/share/snmp/mibs/IP-FORWARD-MIB.txt)
BGP4-MIB::bgpLocalAs.0 = INTEGER: 65540


vyos@vyos# sudo snmpwalk -v 2c -c public 127.0.0.1 BGP4-MIB::bgpPeerEntry
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf
Cannot find module (IANAifType-MIB): At line 13 in /usr/share/snmp/mibs/IF-MIB.txt
Did not find 'IANAifType' in module #-1 (/usr/share/snmp/mibs/IF-MIB.txt)
Cannot find module (IANA-RTPROTO-MIB): At line 12 in /usr/share/snmp/mibs/IP-FORWARD-MIB.txt
Did not find 'IANAipRouteProtocol' in module #-1 (/usr/share/snmp/mibs/IP-FORWARD-MIB.txt)
BGP4-MIB::bgpPeerIdentifier.192.168.55.1 = IpAddress: 192.168.122.246
BGP4-MIB::bgpPeerState.192.168.55.1 = INTEGER: established(6)
BGP4-MIB::bgpPeerAdminStatus.192.168.55.1 = INTEGER: start(2)
BGP4-MIB::bgpPeerNegotiatedVersion.192.168.55.1 = INTEGER: 4
BGP4-MIB::bgpPeerLocalAddr.192.168.55.1 = IpAddress: 192.168.55.55
BGP4-MIB::bgpPeerLocalPort.192.168.55.1 = INTEGER: 35667
BGP4-MIB::bgpPeerRemoteAddr.192.168.55.1 = IpAddress: 192.168.55.1
BGP4-MIB::bgpPeerRemotePort.192.168.55.1 = INTEGER: 179
BGP4-MIB::bgpPeerRemoteAs.192.168.55.1 = INTEGER: 65550
BGP4-MIB::bgpPeerInUpdates.192.168.55.1 = Counter32: 3
BGP4-MIB::bgpPeerOutUpdates.192.168.55.1 = Counter32: 3
BGP4-MIB::bgpPeerInTotalMessages.192.168.55.1 = Counter32: 23
BGP4-MIB::bgpPeerOutTotalMessages.192.168.55.1 = Counter32: 23
BGP4-MIB::bgpPeerLastError.192.168.55.1 = Hex-STRING: 00 00 
BGP4-MIB::bgpPeerFsmEstablishedTransitions.192.168.55.1 = Counter32: 1
BGP4-MIB::bgpPeerFsmEstablishedTime.192.168.55.1 = Gauge32: 1133
BGP4-MIB::bgpPeerConnectRetryInterval.192.168.55.1 = INTEGER: 120
BGP4-MIB::bgpPeerHoldTime.192.168.55.1 = INTEGER: 180
BGP4-MIB::bgpPeerKeepAlive.192.168.55.1 = INTEGER: 60
BGP4-MIB::bgpPeerHoldTimeConfigured.192.168.55.1 = INTEGER: 180
BGP4-MIB::bgpPeerKeepAliveConfigured.192.168.55.1 = INTEGER: 60
BGP4-MIB::bgpPeerMinRouteAdvertisementInterval.192.168.55.1 = INTEGER: 0
BGP4-MIB::bgpPeerInUpdateElapsedTime.192.168.55.1 = Gauge32: 1132