Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

snmpbulkwalk -m ALL -M ~/mibs-master -v 2c -c GOODCOMMUNITY <HOSTNAME or IP ADDRESS> .1 > ~/VENDOR-Product.mib

If you have MIBS from your vendor

Code Block
mkdir ~/mibs
cp <vendor mib file(s)> ~/mibs
cp /usr/local/nmis8/mibs/traps/* ~/mibs 
snmpwalk

Test your SNMP WALK and MIBS

Code Block
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 

...