1. install net-snmp on ubuntu
http://www.net-snmp.org/wiki/index.php/Net-Snmp_on_Ubuntu
2. using and loading mibs
http://www.net-snmp.org/wiki/index.php/TUT:Using_and_loading_MIBS
3. put the private mibs into snmp paths
run command: net-snmp-config --default-mibdirs to get the default mibs directory, and put your private mibs to the directory.
run command: net-snmp-config --snmpconfpath to get the directory of snmp.conf
edit snmp.conf and add below contents:
mibs +MyMIB
use snmptranslate -IR xxxxx to verify if you have got it ready.
http://www.net-snmp.org/wiki/index.php/Net-Snmp_on_Ubuntu
2. using and loading mibs
http://www.net-snmp.org/wiki/index.php/TUT:Using_and_loading_MIBS
3. put the private mibs into snmp paths
run command: net-snmp-config --default-mibdirs to get the default mibs directory, and put your private mibs to the directory.
run command: net-snmp-config --snmpconfpath to get the directory of snmp.conf
edit snmp.conf and add below contents:
mibs +MyMIB
use snmptranslate -IR xxxxx to verify if you have got it ready.
本文详细介绍了如何在Ubuntu系统中安装并配置Net-SNMP,包括安装过程、加载MIB文件的方法及私有MIB文件的存放路径设置,以及验证配置是否正确的方法。
2万+

被折叠的 条评论
为什么被折叠?



