Apologies for a possibly pretty stupid question but getting super confused!
I have setup:
- Install of influxDB
- Install Telegraf (Ubuntu)
- Tested the data from Telegraf for the default system stats it provides and seeing the values in Grafana (also confirmed using a test SNMP device with basic stats.
My question is, I have a new device and have the .MIB file. It contains a lot of information inside it.
I can do an SNMP walk for the device and get:
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
This is a short piece of text from the much larger MIB file:
sensorProbeTempTable OBJECT-TYPE
SYNTAX SEQUENCE OF SensorProbeTempEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
“This table contains the data for every Temperature Sensor in the SensorArray. Each row in the table contains data for a different Temperature Sensor.”
::= { sensorProbeEntry 16 }
This device is a network environment monitoring device and i have temperature sensors attached. I am confused as to what information I need to put in the .config file, or is there anyway of using the MIB file to get all the OIDs automatically?