文件名称:snmpagent
介绍说明--下载内容均来自于网络,请自行研究使用
这是一个snmp agent开发包,完全支持snmpv1和snmpv2c(目前暂时不支持Counter64)的
各种操作包括get,getnext,getbulk,set和v1,v2两种Trap。用户编写程序时不需考虑协议
细节,程序框架由mib编译器自动生成,使用时,只要在框架中填入应用相关的逻辑即可。
windows版本可以支持的编译器:
ms visual c++ 6.0
borland c++ 5.0
borland c++ builder 5.0
lcc
开发包的组成:
1.mib编译器 mib2c 将mib编译成c文件和头文件
2.Agent LIB的头文件
3.Agent LIB库,包括vc,bc,bcb下的库文件
4.例子-This is a snmp agent development kit, full support for SNMPv1 and snmpv2c (currently do not support Counter64) various operations, including get, getnext, getbulk, set and v1, v2 two Trap. User programming, is not required to consider the details of the agreement, procedures fr a mework mib compiler automatically generates, uses, just fill in the fr a mework of the application logic can be related. windows version of the compiler can support: ms visual c++ 6.0 borland c++ 5.0 borland c++ builder 5.0 lcc Development Kit composition: 1.mib compiler mib2c will mib compiled c files and header files the first 2.Agent LIB file 3.Agent LIB library, including vc, bc, bcb library files under 4. example
各种操作包括get,getnext,getbulk,set和v1,v2两种Trap。用户编写程序时不需考虑协议
细节,程序框架由mib编译器自动生成,使用时,只要在框架中填入应用相关的逻辑即可。
windows版本可以支持的编译器:
ms visual c++ 6.0
borland c++ 5.0
borland c++ builder 5.0
lcc
开发包的组成:
1.mib编译器 mib2c 将mib编译成c文件和头文件
2.Agent LIB的头文件
3.Agent LIB库,包括vc,bc,bcb下的库文件
4.例子-This is a snmp agent development kit, full support for SNMPv1 and snmpv2c (currently do not support Counter64) various operations, including get, getnext, getbulk, set and v1, v2 two Trap. User programming, is not required to consider the details of the agreement, procedures fr a mework mib compiler automatically generates, uses, just fill in the fr a mework of the application logic can be related. windows version of the compiler can support: ms visual c++ 6.0 borland c++ 5.0 borland c++ builder 5.0 lcc Development Kit composition: 1.mib compiler mib2c will mib compiled c files and header files the first 2.Agent LIB file 3.Agent LIB library, including vc, bc, bcb library files under 4. example
(系统自动生成,下载前可以参看下载内容)
下载文件列表
agent-dev
.........\example
.........\.......\Agent-vc
.........\.......\........\Agent.c
.........\.......\........\Agent.dsp
.........\.......\........\Agent.dsw
.........\.......\........\Agent.ncb
.........\.......\........\Agent.opt
.........\.......\........\Agent.plg
.........\.......\........\example_mib.c
.........\.......\........\example_mib.h
.........\.......\........\ReadMe.txt
.........\.......\........\StdAfx.cpp
.........\.......\........\StdAfx.h
.........\.......\........\sys_mib.c
.........\.......\........\sys_mib.h
.........\.......\bc-exp
.........\.......\......\agent.c
.........\.......\......\agent.csm
.........\.......\......\agent.DSW
.........\.......\......\agent.ide
.........\.......\......\agent.mbt
.........\.......\......\agent.mrt
.........\.......\......\agentlib.lib
.........\.......\......\agent_exp1.bak
.........\.......\......\agent_exp1.cpp
.........\.......\......\SYSTEM-MIB.bak
.........\.......\......\system-mib.c
.........\.......\......\system-mib.h
.........\.......\bcb-exp
.........\.......\.......\agent.bpf
.........\.......\.......\agent.bpr
.........\.......\.......\agent.tds
.........\.......\.......\agent_exp1.cpp
.........\.......\.......\system-mib.c
.........\.......\.......\system-mib.h
.........\.......\bcb-exp2
.........\.......\........\agent.bpr
.........\.......\........\agent.cpp
.........\.......\........\agent.res
.........\.......\........\system-mib.cpp
.........\.......\........\system-mib.h
.........\.......\........\Unit1.cpp
.........\.......\........\Unit1.dfm
.........\.......\........\Unit1.h
.........\.......\exp1-vc
.........\.......\.......\agent_exp1.cpp
.........\.......\.......\agent_exp1.dsp
.........\.......\.......\agent_exp1.dsw
.........\.......\.......\agent_exp1.ncb
.........\.......\.......\agent_exp1.opt
.........\.......\.......\agent_exp1.plg
.........\.......\.......\ReadMe.txt
.........\.......\.......\StdAfx.cpp
.........\.......\.......\StdAfx.h
.........\.......\.......\sys-mib.txt
.........\.......\.......\system-mib.c
.........\.......\.......\system-mib.h
.........\.......\exp2-vc
.........\.......\.......\agentView.cpp
.........\.......\.......\agentView.h
.........\.......\.......\agent_exp2.aps
.........\.......\.......\agent_exp2.clw
.........\.......\.......\agent_exp2.cpp
.........\.......\.......\agent_exp2.dsp
.........\.......\.......\agent_exp2.dsw
.........\.......\.......\agent_exp2.h
.........\.......\.......\agent_exp2.ncb
.........\.......\.......\agent_exp2.opt
.........\.......\.......\agent_exp2.plg
.........\.......\.......\agent_exp2.rc
.........\.......\.......\agent_exp2Doc.cpp
.........\.......\.......\agent_exp2Doc.h
.........\.......\.......\MainFrm.cpp
.........\.......\.......\MainFrm.h
.........\.......\.......\ReadMe.txt
.........\.......\.......\res
.........\.......\.......\...\agent_exp2.rc2
.........\.......\.......\Resource.h
.........\.......\.......\snmpsock.cpp
.........\.......\.......\snmpsock.h
.........\.......\.......\StdAfx.cpp
.........\.......\.......\StdAfx.h
.........\.......\.......\system-mib.c
.........\.......\.......\system-mib.h
.........\.......\exp3-lcc
.........\.......\........\agent.c
.........\.......\........\Agentlib.lib
.........\.......\........\agent_exp1.cpp
.........\.......\........\system-mib.c
.........\.......\........\system-mib.h
.........\include
.........\.......\asn1lib.h
.........\.......\snmpagent.h
.........\.......\snmptrap.h
.........\lib
.........\...\bc5
.........\example
.........\.......\Agent-vc
.........\.......\........\Agent.c
.........\.......\........\Agent.dsp
.........\.......\........\Agent.dsw
.........\.......\........\Agent.ncb
.........\.......\........\Agent.opt
.........\.......\........\Agent.plg
.........\.......\........\example_mib.c
.........\.......\........\example_mib.h
.........\.......\........\ReadMe.txt
.........\.......\........\StdAfx.cpp
.........\.......\........\StdAfx.h
.........\.......\........\sys_mib.c
.........\.......\........\sys_mib.h
.........\.......\bc-exp
.........\.......\......\agent.c
.........\.......\......\agent.csm
.........\.......\......\agent.DSW
.........\.......\......\agent.ide
.........\.......\......\agent.mbt
.........\.......\......\agent.mrt
.........\.......\......\agentlib.lib
.........\.......\......\agent_exp1.bak
.........\.......\......\agent_exp1.cpp
.........\.......\......\SYSTEM-MIB.bak
.........\.......\......\system-mib.c
.........\.......\......\system-mib.h
.........\.......\bcb-exp
.........\.......\.......\agent.bpf
.........\.......\.......\agent.bpr
.........\.......\.......\agent.tds
.........\.......\.......\agent_exp1.cpp
.........\.......\.......\system-mib.c
.........\.......\.......\system-mib.h
.........\.......\bcb-exp2
.........\.......\........\agent.bpr
.........\.......\........\agent.cpp
.........\.......\........\agent.res
.........\.......\........\system-mib.cpp
.........\.......\........\system-mib.h
.........\.......\........\Unit1.cpp
.........\.......\........\Unit1.dfm
.........\.......\........\Unit1.h
.........\.......\exp1-vc
.........\.......\.......\agent_exp1.cpp
.........\.......\.......\agent_exp1.dsp
.........\.......\.......\agent_exp1.dsw
.........\.......\.......\agent_exp1.ncb
.........\.......\.......\agent_exp1.opt
.........\.......\.......\agent_exp1.plg
.........\.......\.......\ReadMe.txt
.........\.......\.......\StdAfx.cpp
.........\.......\.......\StdAfx.h
.........\.......\.......\sys-mib.txt
.........\.......\.......\system-mib.c
.........\.......\.......\system-mib.h
.........\.......\exp2-vc
.........\.......\.......\agentView.cpp
.........\.......\.......\agentView.h
.........\.......\.......\agent_exp2.aps
.........\.......\.......\agent_exp2.clw
.........\.......\.......\agent_exp2.cpp
.........\.......\.......\agent_exp2.dsp
.........\.......\.......\agent_exp2.dsw
.........\.......\.......\agent_exp2.h
.........\.......\.......\agent_exp2.ncb
.........\.......\.......\agent_exp2.opt
.........\.......\.......\agent_exp2.plg
.........\.......\.......\agent_exp2.rc
.........\.......\.......\agent_exp2Doc.cpp
.........\.......\.......\agent_exp2Doc.h
.........\.......\.......\MainFrm.cpp
.........\.......\.......\MainFrm.h
.........\.......\.......\ReadMe.txt
.........\.......\.......\res
.........\.......\.......\...\agent_exp2.rc2
.........\.......\.......\Resource.h
.........\.......\.......\snmpsock.cpp
.........\.......\.......\snmpsock.h
.........\.......\.......\StdAfx.cpp
.........\.......\.......\StdAfx.h
.........\.......\.......\system-mib.c
.........\.......\.......\system-mib.h
.........\.......\exp3-lcc
.........\.......\........\agent.c
.........\.......\........\Agentlib.lib
.........\.......\........\agent_exp1.cpp
.........\.......\........\system-mib.c
.........\.......\........\system-mib.h
.........\include
.........\.......\asn1lib.h
.........\.......\snmpagent.h
.........\.......\snmptrap.h
.........\lib
.........\...\bc5