基于SNMP的MIB库转化成C文件的实现  被引量:4

Realization of MIB Database into C Based on SNMP

在线阅读下载全文

作  者:张登银[1] 陈玮[1] 任勋益[1,2] 马晓东 

机构地区:[1]南京邮电大学计算机学院,江苏南京210003 [2]江苏常熟市亿通高技术股份有限公司,江苏常熟215500

出  处:《计算机技术与发展》2011年第9期6-9,共4页Computer Technology and Development

基  金:江苏省重大科技支撑计划(BE2009063);国家自然科学基金(61073188);国家博士后基金(20100471355)

摘  要:网络管理日益重要,SNMP以其简单、灵活的特点而得到广泛应用。MIB库是网络管理中的资源以及属性的集合,是网管的核心,要访问MIB库,必须将其转换成C语言。MIB库转换成C文件,先要按照一定的语法格式编写MIB文件,将新编写的MIB文件放入MIB库中,然后根据是转换简单变量还是表变量使用NET-SNMP源码包自带的模板转换。经实验证明,这种方法能够简单快速地将MIB文件转换成C文件,并且转换后的C文件代码格式统一,经过少量的修改,就可以重新编译到SNMP源码包中使用。The growing importance of network management,SNMP is widely used for its simple,flexible features.MIB repository is a collection of resources and attributes in network management,is the core of network,to access the MIB database,it must be converted into C language.MIB database into C files,first according to certain syntax prepared MIB files,put the new MIB file into the MIB database,and then according to a simple variable or a table variable use the NET-SNMP source package's template conversion converted the MIB file to C file.The experiment proved that this method can quickly and easily convert the MIB file to C file,and converted the C code file format is unified,after a few changes you can recompile the source code to the SNMP package and use it.

关 键 词:简单网络管理协议 管理信息库 对象命名树 

分 类 号:TP31[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象