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.
分享到:
相关推荐
Ubuntu18.04下snmpwalk工具离线安装,按照说明进行安装即可使用
Ubuntu snmp服务安装离线安装包
netsnmp例子程序
ubuntu1604 安装snmpd ;snmp 客户端与服务端配置
压缩包内含有安装snmp5.7.3所需要的.deb文件,并且含有如何安装及配置的详细步骤知道。因为自己在离线ubuntu系统安装这个服务耗费相当长时间,特此提供给需要的人。
linux下基于netsnmp写的trap服务器,纯C代码,可解析出trap发送方的地址及trap消息内容,可直接编译和测试。编译方法为: gcc trap.c -lnetsnmp
net-snmp所需的安装补丁包,NETSNMP程序补丁包net-snmp-devel-5.3.2.2-14.el5.x86_64.rpm
netsnmp程序补丁包net-snmp-utils-5.3.2.2-14.el5.x86_64.rpm
自己总结的net-snmp代理的开发,包括叶子,表以及trap的代码.MIB是自己写得一个最简单的例子,功能都实现了.
NET-SNMP工具的使用 当环境设置好后,运行snmpd,即snmp代理进程,就可以使用管理工具查询其中的信息了。
NETSNMP mib库的开发,资源很稀缺,对我帮助很大
net-snmp-5.5-49.el6_5.3.x86_64.rpm net-snmp-devel-5.5-49.el6_5.3.i686.rpm net-snmp-devel-5.5-49.el6_5.3.x86_64.rpm net-snmp-libs-5.5-49.el6_5.3.i686.rpm net-snmp-libs-5.5-49.el6_5.3.x86_64.rpm ...
LINUX下SNMPGET应用软件,已在RHL 5.7上运行通过。
net-snmp源码5.9.1
深入理解Net-SNMP__张春强著
netsnmp程序补丁包net-snmp-perl-5.3.2.2-14.el5.x86_64.rpm
NETSNMP程序补丁包net-snmp-devel-5.3.2.2-14.el5.x86_64.rpm
用NETSNMP软件包开发简单客户端代理.pdf
本人写的net-snmp开发教程,详细介绍了net-snmp开发过程。以及net-snmp开发环境配置。相应工具的使用。
Net-Snmp在ARM平台上的移植笔记,经本人测试可行,希望对大家有帮助。