...
For a large collection of MIB files which have been error corrected, you can find many MIBS on Keith Sinclair's GitHub MIB Repo
Commands to run:
Organise your MIBS.
If you do not have any vendor MIBS, download the MIBS from the GitHub Repo
Code Block |
---|
cd ~
wget https://github.com/kcsinclair/mibs/archive/master.zip
unzip master.zip
mv mibs-master mibs |
If you have MIBS from your vendor
Code Block |
---|
mkdir ~/mibs
cp <vendor mib file(s)> ~/mibs
cp /usr/local/nmis8/mibs/traps/* ~/mibs |
Test your SNMP WALK and MIBS
Code Block |
---|
snmpwalk snmpwalk-m ALL -M ~/mibs -v 2c -c GOODCOMMUNITY <HOSTNAME or IP ADDRESS> system |
Does SNMP Bulk Walk work?
Code Block |
---|
snmpbulkwalk -m ALL -M ~/mibs -v 2c -c GOODCOMMUNITY <HOSTNAME or IP ADDRESS> system |
...
Now you have an SNMP Dump.
SNMP WALK with Numerical OIDS
If you are seeking support for device modelling, getting the SNMP walk results as numerical OID's only is very useful, as this can be used in an SNMP simulator. There is a translate tool available to map the OIDs we well, https://github.com/kcsinclair/mibs/blob/master/translate_snmpwalk.pl
Code Block |
---|
snmpwalk -v2c -c COMMUNITY String -ObentU IPADDRESS_OR_NODENAME 1.3.6 > myagent.snmpwalk |
Goal for Modelling
What is the goal for the modelling? Just standard type support, or more advanced collection, do you want to collect some performance data about how a protocol is operating, or verify the number of sessions a firewall is running.
...