snmp - 0xBrendan/Tech-Journal GitHub Wiki
When we installed/enabled SNMP on the linux clients in our environment, we used large pre-written commands containing a plethora of different flags/options. Yet none of what these did or what we were doing was explained to us. To better understand this, I want to look through the man page for the commands and flags used and document a bit of what things meant.
snmpwalk [APPLICATION OPTIONS] [COMMON OPTIONS] [OID]
Command I used in the lab: snmpwalk -Os -c applecider -v2c web01-brendan system
-Os : Display the MIB object name (plus any instance or other subidentifiers)
MIB stands for Management Information Base and is a collection of information organized hierarchically
ex: sysUpTime.0 = Timeticks: (14096763) 1 day, 15:09:27.63
-c : set the community string In this case we are using applecider
-v2c : specifies the protocol version to use ( 1 | 2c | 3 ) Overrides the defVersion token in the snmp.conf
Object Identifiers: web01-brendan (host) system (system information)
Further reading: SNMP, MIB, & OID Flags