09-22-2020 05:24 AM
Hi,
I am trying to monitor a Cisco RV325 through SNMP. I have problems querying the interfaces. SNMP queries return the following interface list:
iso.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2
iso.3.6.1.2.1.2.2.1.1.3 = INTEGER: 3
iso.3.6.1.2.1.2.2.1.1.4 = INTEGER: 4
iso.3.6.1.2.1.2.2.1.1.5 = INTEGER: 5
iso.3.6.1.2.1.2.2.1.1.6 = INTEGER: 6
iso.3.6.1.2.1.2.2.1.1.7 = INTEGER: 7
iso.3.6.1.2.1.2.2.1.1.8 = INTEGER: 8
iso.3.6.1.2.1.2.2.1.2.1 = STRING: "lo"
iso.3.6.1.2.1.2.2.1.2.2 = STRING: "tunl0"
iso.3.6.1.2.1.2.2.1.2.3 = STRING: "gre0"
iso.3.6.1.2.1.2.2.1.2.4 = STRING: "sit0"
iso.3.6.1.2.1.2.2.1.2.5 = STRING: "ip6tnl0"
iso.3.6.1.2.1.2.2.1.2.6 = STRING: "eth0"
iso.3.6.1.2.1.2.2.1.2.7 = STRING: "eth1"
iso.3.6.1.2.1.2.2.1.2.8 = STRING: "eth2"
The box is running Firmware Version: v1.4.2.17 (2017-10-30, 15:50:18)
Is there a way to fix this and be able to query all interfaces and with the correct name?
Thank you,
Alex
09-22-2020 05:47 AM
Do you have RV series MIB - here is the download link.
https://software.cisco.com/download/home/284005929/type/282465797/release/1.0.7
09-23-2020 01:35 AM
Thank you for the prompt reply Balaji!
Somehow they were in the wrong path, so not being used. I fixed that, but I get the same results:
# snmpwalk -v2c -c sstsnmp -m +CISCOSB-MODEL-MIB x.x.x.x
SNMPv2-MIB::sysDescr.0 = STRING: Linux, Cisco RV325, Version 1.4.2.17 Mon Oct 30 15:52:47 CST 2017
SNMPv2-MIB::sysObjectID.0 = OID: CISCOSB-MODEL-MIB::ciscosb.23.3.17
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (132664500) 15 days, 8:30:45.00
SNMPv2-MIB::sysContact.0 = STRING: xxxx
SNMPv2-MIB::sysName.0 = STRING: RV325
SNMPv2-MIB::sysLocation.0 = STRING: Office
SNMPv2-MIB::sysServices.0 = INTEGER: 78
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (23) 0:00:00.23
SNMPv2-MIB::sysORID.1 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.2 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.3 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.6 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.7 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.8 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORDescr.1 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.3 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.8 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (19) 0:00:00.19
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (20) 0:00:00.20
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (20) 0:00:00.20
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (21) 0:00:00.21
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (21) 0:00:00.21
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (21) 0:00:00.21
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (21) 0:00:00.21
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (23) 0:00:00.23
IF-MIB::ifNumber.0 = INTEGER: 8
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: tunl0
IF-MIB::ifDescr.3 = STRING: gre0
IF-MIB::ifDescr.4 = STRING: sit0
IF-MIB::ifDescr.5 = STRING: ip6tnl0
IF-MIB::ifDescr.6 = STRING: eth0
IF-MIB::ifDescr.7 = STRING: eth1
IF-MIB::ifDescr.8 = STRING: eth2
Thank you,
Alex
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide