What to do with Mib file +/- SNMP walk?

Hi everyone,

I am very new to Grafana but have managed to get Grafana working with InfluxDB and SNMP. The question I have is, I have a device which I have the MIB file for.

I can also SNMP walk the device and get the following:

SNMPv2-MIB::sysDescr.0 = STRING: SP8 SP8459i 260612
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.3854.1
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1217604) 3:22:56.04
SNMPv2-MIB::sysContact.0 = STRING: Sys Contact
SNMPv2-MIB::sysName.0 = STRING: Sys Name
SNMPv2-MIB::sysLocation.0 = STRING: Sys Location
SNMPv2-MIB::sysServices.0 = INTEGER: 10
IF-MIB::ifNumber.0 = INTEGER: 1
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifDescr.1 = STRING: AKCP
IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.1 = INTEGER: 1500
IF-MIB::ifSpeed.1 = Gauge32: 10000000
IF-MIB::ifPhysAddress.1 = STRING: 0:b:dc:0:96:fa
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
IF-MIB::ifInOctets.1 = Counter32: 694088
IF-MIB::ifInUcastPkts.1 = Counter32: 0
IF-MIB::ifInNUcastPkts.1 = Counter32: 0
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInUnknownProtos.1 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 363530
IF-MIB::ifOutUcastPkts.1 = Counter32: 0
IF-MIB::ifOutNUcastPkts.1 = Counter32: 0
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero
IP-MIB::ipForwarding.0 = INTEGER: notForwarding(2)
IP-MIB::ipAdEntAddr.192.168.1.246 = IpAddress: 192.168.1.246
IP-MIB::ipAdEntIfIndex.192.168.1.246 = INTEGER: 1
IP-MIB::ipAdEntNetMask.192.168.1.246 = IpAddress: 255.255.255.0
IP-MIB::ipAdEntBcastAddr.192.168.1.246 = INTEGER: 1

I cannot see any correlation between above and the MIB file. What information from either the MIB file or above do i need to use to input into my influxdb.conf file? Is there a way of “importing” all the information from the MIB automatically?

Hello,

Your questions is really not a Grafana one. SNMP consists of a bunch of OID’s ( a map to a value ) … the SNMP MIB is a dictionary of the OID’s.

From your output for example:
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)

Indicated the value here was FOUND in IF-MIB and Named value ifAdminStatus so the MIBS are working as expected.

I may suggest doing some SNMP Goggling to better understand the general nature of SNMP.

( I came across your post while … I’m looking for the next step, what is the best way to report the values into Grafana with tables and other associations being made )