SNMP OID and MIB for Mimosa devices

I once did a Zabbix template for Mimosa B5c and explored several useful SNMP OID/MIB.

First we will enable SNMP in the device, check the connection from Linux and see the available OIDs:

snmpwalk -v2c -c COMMUNITY 192.168.1.2 .1

Let’s look at the list of network interfaces:

snmpwalk -v2c -c COMMUNITY 192.168.1.2 ifDescr

In my case it was displayed:

IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: tqe
IF-MIB::ifDescr.3 = STRING: eth1_emac1
IF-MIB::ifDescr.4 = STRING: wlan0
IF-MIB::ifDescr.5 = STRING: br0
IF-MIB::ifDescr.6 = STRING: br_local
IF-MIB::ifDescr.7 = STRING: br_recovery
IF-MIB::ifDescr.8 = STRING: br1
IF-MIB::ifDescr.9 = STRING: wifi0
IF-MIB::ifDescr.10 = STRING: mon.wlan0

Accordingly, to monitor traffic on the WiFi interface, I used:

ifInOctets.9
ifOutOctets.9

It is also useful to monitor the speed of the RJ-45 port, it should be 1 Gb/s (1000000000), if less, then there is probably a problem with the cable, connector, etc.:

ifSpeed.3

Here is a list of some important OIDs:

iso.2.840.10036.1.1.1.9.9 (AP SSID)
1.3.6.1.4.1.43356.2.1.2.6.1.1.6 (mimosaCenterFreq)
1.3.6.1.4.1.43356.2.1.2.6.1.1.5 (mimosaSNR * 0.1)
 
General info:
1.3.6.1.4.1.43356.2.1.2.1.1.0 (mimosaDeviceName.0)
1.3.6.1.4.1.43356.2.1.2.1.2.0 (mimosaSerialNumber.0)
1.3.6.1.4.1.43356.2.1.2.1.3.0 (mimosaFirmwareVersion.0)
1.3.6.1.4.1.43356.2.1.2.1.4.0 (mimosaFirmwareBuildDate.0)
1.3.6.1.4.1.43356.2.1.2.1.5.0 (mimosaLastRebootTime.0)
1.3.6.1.4.1.43356.2.1.2.1.6.0 (mimosaUnlockCode.0)
1.3.6.1.4.1.43356.2.1.2.1.7.0 (mimosaLEDBrightness.0)
1.3.6.1.4.1.43356.2.1.2.1.8.0 (mimosaInternalTemp.0)
1.3.6.1.4.1.43356.2.1.2.1.9.0 (mimosaRegulatoryDomain.0)
 
Location info:
1.3.6.1.4.1.43356.2.1.2.2.1.0 (mimosaLongitude.0)
1.3.6.1.4.1.43356.2.1.2.2.2.0 (mimosaLatitude.0)
1.3.6.1.4.1.43356.2.1.2.2.3.0 (mimosaAltitude.0)
1.3.6.1.4.1.43356.2.1.2.2.4.0 (mimosaSatelliteSNR.0)
1.3.6.1.4.1.43356.2.1.2.2.5.0 (mimosaSatelliteStrength.0) good(1)
1.3.6.1.4.1.43356.2.1.2.2.6.0 (mimosaGPSSatellites.0)
1.3.6.1.4.1.43356.2.1.2.2.7.0 (mimosaGlonassSatellites.0)
1.3.6.1.4.1.43356.2.1.2.2.8.0 (mimosaClockAccuracy.0)
 
TDMA:
1.3.6.1.4.1.43356.2.1.2.4.1.0 (mimosaWirelessMode.0) station(2)
1.3.6.1.4.1.43356.2.1.2.4.2.0 (mimosaWirelessProtocol.0) tdma(1)
1.3.6.1.4.1.43356.2.1.2.4.3.0 (mimosaTDMAMode.0) A(1)
1.3.6.1.4.1.43356.2.1.2.4.4.0 (mimosaTDMAWindow.0) (ms)
1.3.6.1.4.1.43356.2.1.2.4.5.0 (mimosaTrafficSplit.0) symmetric(1)
 
1.3.6.1.4.1.43356.2.1.2.6.1.1.3 (mimosaRxPower)
1.3.6.1.4.1.43356.2.1.2.6.1.1.4 (mimosaRxNoise)

An example of viewing MAC addresses of network interfaces:

ifPhysAddress

The state of the interfaces, turned on and active, can be as follows:

ifAdminStatus
ifOperStatus

Other error counters, dropped packets, etc .:

ifInUcastPkts
ifOutUcastPkts
ifInNUcastPkts
ifOutNUcastPkts
ifInDiscards
ifOutDiscards
ifInErrors
ifOutErrors
ifInUnknownProtos
ifOutUnknownProtos

SNMP information:

SNMPv2-MIB::sysContact.0
SNMPv2-MIB::sysName.0
SNMPv2-MIB::sysLocation.0

See my article:
SNMP OID and MIB for interfaces

Leave a comment

Leave a Reply