Difference between revisions of "snmptranslate guide"

From thelinuxwiki
Jump to: navigation, search
 
Line 12: Line 12:
 
4) as root or with sudo run download-mibs
 
4) as root or with sudo run download-mibs
 
  $ download-mibs
 
  $ download-mibs
default mib location
+
default mib location(s)
 
  /var/lib/snmp/mibs/
 
  /var/lib/snmp/mibs/
 +
/var/lib/mibs/

Latest revision as of 19:17, 19 October 2023

install

tuturial

NET-SNMP Tutorial -- Using local MIBs

debian [1]

install snmp client utils

$ apt-get install snmp

loading mib files 1) enable non-free sources per there instructions 2) install snmp-mibs-downloader

$ apt-get install snmp-mibs-downloader

3) configure net-snmp command-line to use the MIBS, edit /etc/snmp/snmp.conf and comment out the following line: 4) as root or with sudo run download-mibs

$ download-mibs

default mib location(s)

/var/lib/snmp/mibs/
/var/lib/mibs/