sudo apt-get install snmpd

sudo apt-get install snmp

sudo apt-get install snmp-mibs-downloader

sudo download-mibs

安装好后运行snmpwalk -v 2c -c public 127.0.0.1 syste报错


system: Unknown Object Identifier (Sub-id not found



修改/etc/snmp/snmp.conf 注释掉mibs: 后重启服务即可。