Simple Network Management Protocol (SNMP) was created to monitor network devices.161.The Management Information Base (MIB) is a standardized guide that lists all the information and settings available on a device for SNMP. It organizes this information in a tree structure with unique identifiers (OIDs) for each item. MIB files don’t contain actual data but describe how to find and access it, including details like data types and permissions. This helps ensure compatibility between different devices and systems using SNMP.
An OID (Object Identifier) is like an address in a hierarchy or tree structure. Each OID is a sequence of numbers, and the longer the sequence, the more specific the information it points to. Some nodes in the OID tree don’t hold any data themselves but just point to other nodes below them. OIDs are written as numbers separated by dots (e.g., 1.3.6.1.2). We can look up many MIBs for the associated OIDs in the Object Identifier Registry.
cat /etc/snmp/snmpd.conf | grep -v "#" | sed -r '/^\\s*$/d'
snmpwalk, onesixtyone, and braa .Snmpwalk is used to query the OIDs with their information.