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

AP SSID:

iso.2.840.10036.1.1.1.9.9

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

Did my article help you? How about buying me a cup of coffee as an encouragement? Buy me a coffe.

Leave a comment

Leave a Reply