SNMP
From Notes
Simple Network Management Protocol (SNMP)
MIB: Management Information Base
snmpget
snmpwalk
Check for a specific process on the client:
$SNMPWALK -v2c -t 1 -c $COMMUNITY $HOST hrSWRunName | egrep $PROC 2>&1 > /dev/null
snmptable
snmptranslate
From man page: an application that translates one or more SNMP object identifier values from their symbolic (textual) forms into their numerical forms (or vice versa).
To obtain a complete list of MIBs, execute the following command:
snmptranslate -Tp
If you would like to obtain a list based on a filter, use the following:
snmptranslate -Tp -IR <search term>
Extend SNMP with Scripts
When using extend to generate output from scripts, it can be difficult to get a list of MIBS to query. Use the following command to generate this list:
snmpwalk -v 2c -c <community> localhost nsExtendOutput1Table
To get a list of OIDs to query (include -On):
snmpwalk -On -v 2c -c <community> localhost nsExtendOutput1Table
