找回密码
 立即注册
邮电通讯系统 2022-07-02 53 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
官方网站:zhtelecomObjectSNMP是一个面向对象的SNMP开发组件,与关系数据库流行的O-RMapping技术类似,实现了Object到SNMPMIB的操作映射(简称O-MMapping),系统提供了Java/SNMP网关、RMI/SNMP网关、WebService/SNMP网关服务。开发者无需理解SNMP协议和MIB细节,只需要定义普通数据对象,然后将数据对象按添加、删除、修改、查询等模式提交给网关即可。ObjectSNMP网关会自动将数据对象按开发者的期望发送到SNMP设备,并返回用户需要的数据对象。网络拓扑发现、物理拓扑发现、网络自动搜索发现、设备连接关系发现、设备类型发现、网络漫游搜索、以及定义好的可管理各种设备的MIB数据等高级功能。组件功能1.O-MMapping映射框架功能参考数据库领域流行的O-RMapping技术,实现SNMP领域的Object-MIB映射框架,自动翻译MIB和OID语法,自动翻译SNMP命令和网络操作,彻底告别Socket、PDU、UDP、SNMPGet/Set/GetNex/GetBulk、OID方式的编程模式,开发人员需要做的仅仅是定义一个与MIB数据相对应的普通数据对象。然后通过各种网关提交数据对象,即可完成对SNMP的复杂访问。2.Java/SNMP网关使用者的程序和ObjectSNMP在同一个Java进程内,使用者定义普通Java数据对象,然后通过JavaAPI访问ObjectSNMP网关。3.JavaRMI/SNMP网关使用者的程序和ObjectSNMP在不同的Java进程内,或在不同的机器上。使用者定义普通Java数据对象,然后通过RMIJavaAPI访问ObjectSNMP网关。4.WebService/SNMP网关使用者可以为PHP、C++、.NET、Java、Flex、JavaScrip等支持WebService技术的其他程序,通过在Web环境中,访问ObjectSNMP网关。WebServcie/SNMP网关支持任意兼容servlet的Web容器。5.Proxy/SNMP透明网关为私网穿透、分布式部署SNMP网关、SNMP网关负载均衡、主/从两级SNMP管理等场景提供了透明的SNMP网关服务。Proxy网关可以采用Java、RMI、WebService任意模式,并且完全对用户透明,就如同只有一个网关一样。6.所有的网关均有一致的API服务所有的网关的API保持一致,都提供了基于数据对象添加、删除、修改、查询等服务;并可以随意切换各种网关模式,保持API对用户不变。7.SNMPTrap接收服务内置SNMPTrap接收服务器,可以接收公共和私有SNMPTrap消息。并自动将原始TrapPDU包解析成JavaTrap消息对象。为了简化Trap通知模式的编程开发,ObjectSNMP将被动接收的Trap消息机制映射成为主动获取JavaTrap消息对象的普通编程模式。8.面向故障管理、性能管理、配置管理、业务管理、安全管理的网管集成ObjectSNMP依托底层O-M框架和网关技术,针对诸如故障管理、性能监控管理、故障监控、配置管理、业务管理、网络安全管理等SNMP网管功能,提供了最为便捷的支持。8.支持私有MIB文件产品可以加载各种厂商的私有MIB文件,加载私有MIB文件后,自动解析MIB文件的语法。10.网络自动发现功能全网设备发现:可以按网络号、IP范围、多个网络范围内,自动搜索发现设备,获取设备的基本信息、设备类型(交换、路由、路由交换、终端设备、厂商特有类型等)、MAC地址、ARP表、交换机端口、路由器接口、路由表、交换机转发表、主机IP地址等信息。网络漫游发现:给定少数几个已知的网络号、IP范围,按用户指定的漫游深度和漫游广度,进行全网漫游发现。网络拓扑自动发现:可以发现交换机与交换机、交换机与PC机、交换机与终端设备、交换机与路由器、路由交换机与路由交换机之间的连接关系。连接关系可以定位到具体的设备端口、设备接口上。支持在任意指定的设备之间发现它们的所有连接,在全网范围内发现连接关系。ObjectSNMP的物理拓扑自动发现采用了全新的技术:即支持单一Cisco、华为网络,也支持各种厂商设备混合网络。支持模糊连接定位,在数据不全或设备缺失的情况下,尽可能发现连接关系。可在任意的网络环境中工作,不需要用户对网络做任何假设(如路由器假设、根交换机假设、上/下行端口假设、边缘设备假设等)。资源发现:搜索发现设备的网络接口、板卡、硬件设施、磁盘、内存、CPU、软件服务等。12.自动Java代码生成技术提供了Java数据对象代码的自动生成技术,进一步简化SNMP开发工作。13.附带SNMPMIB数据浏览器可单独使用,也可集成在程序中使用SNMP数据浏览器,便于开发和调试。14.基准性能测试结果单线程1万个SNMP对象(7万个SNMPOID数据)获取总时间lt;=5秒多线程并发1万个SNMP对象获取总时间lt;=2秒连续30天多线程并发获取SNMP数据,内存波动正负0.3M1千万次SNMP对象获取操作,在多线程并发环境下,正确率100%
本资料共包含以下附件:
ObjectSNMP\
ObjectSNMP\MibbleBrowser.cmd
ObjectSNMP\objectsnmp_java_api\
ObjectSNMP\objectsnmp_java_api\com\
ObjectSNMP\objectsnmp_java_api\com\zhtelecom\
ObjectSNMP\objectsnmp_java_api\com\zhtelecom\common\
ObjectSNMP\objectsnmp_java_api\com\zhtelecom\common\snmp\
ObjectSNMP\objectsnmp_java_api\com\zhtelecom\common\snmp\class-use\
ObjectSNMP\objectsnmp_java_api\com\....


(Official website: zhtelecomobjectsnmp is an object-oriented SNMP development component, which is similar to the popular o-rmapping technology of relational database. It realizes the operation mapping from object to snmpmib (o-mmapping for short). The system provides java/snmp gateway, rmi/snmp gateway, webservice/ SNMP Gateway Services. Developers do not need to understand SNMP protocol and MIB details, but only need to define common data objects, and then submit the data objects to the gateway in the mode of adding, deleting, modifying, querying, etc. Objectsnmp gateway will automatically send data objects to SNMP devices as expected by developers, and return the data objects required by users. Advanced functions such as network topology discovery, physical topology discovery, automatic network search discovery, device connection relationship discovery, device type discovery, network roaming search, and defined MIB data that can manage various devices. Component function 1 The function of o-mmapping mapping framework refers to the popular o-rmapping technology in the field of database, realizes the object MIB mapping framework in the field of SNMP, automatically translates the syntax of MIB and oid, automatically translates SNMP commands and network operations, and completely bid farewell to the programming mode of socket, PDU, UDP, snmpget/set/getnex/getbulk, oid. What developers need to do is to define a common data object corresponding to MIB data. Then submit data objects through various gateways to complete complex access to SNMP. 2. The program of java/snmp gateway user and objectsnmp are in the same java process. The user defines ordinary Java data objects, and then accesses objectsnmp gateway through javaapi. 3. Javarmi/snmp gateway users' programs and objectsnmp are in different Java processes or on different machines. Users define ordinary Java data objects, and then access objectsnmp gateway through rmijavaapi. 4. Webservice/snmp gateway users can be PHP, c++ Net, Java, flex, javascrip and other programs that support WebService technology access objectsnmp gateway in the web environment. Webservice/snmp gateway supports any servlet compatible web container. 5. Proxy/snmp transparent gateway provides transparent SNMP Gateway Services for private network penetration, distributed deployment of SNMP Gateway, SNMP Gateway load balancing, master / slave SNMP management and other scenarios. Proxy gateway can adopt any mode of Java, RMI and WebService, and it is completely transparent to users, just like there is only one gateway. 6. All gateways have consistent API services. All gateways have consistent APIs and provide services such as adding, deleting, modifying, and querying based on data objects; And you can switch various gateway modes at will to keep the API unchanged for users. 7. Snmptrap receiving service has built-in snmptrap receiving server, which can receive public and private snmptrap messages. And automatically parse the original trappdu package into a javatrap message object. In order to simplify the programming development of trap notification mode, objectsnmp maps the trap message mechanism received passively to the common programming mode of actively obtaining javatrap message objects. 8. Network management integration for fault management, performance management, configuration management, service management, and security management objectsnmp relies on the underlying o-m framework and gateway technology to provide the most convenient support for SNMP network management functions such as fault management, performance monitoring management, fault monitoring, configuration management, service management, and network security management. 8. Support private MIB files. Products can load private MIB files from various manufacturers. After loading private MIB files, the syntax of MIB files will be automatically parsed. 10. Network automatic discovery function whole network device discovery: it can automatically search and discover devices according to network number, IP range and multiple network ranges, and obtain basic information of devices, device types (switching, routing, routing switching, terminal devices, manufacturer specific types, etc.), MAC address, ARP table, switch port, router interface, routing table, switch forwarding table, host IP address and other information. Network roaming discovery: given a few known network numbers and IP ranges, the whole network roaming discovery is carried out according to the roaming depth and roaming width specified by the user. Automatic network topology discovery: it can discover the connection relationship between switches, switches and PCs, switches and terminal devices, switches and routers, and routing switches and routing switches. The connection relationship can be located on the specific device port and device interface. It supports the discovery of all connections between any specified devices and the discovery of connection relationships throughout the network. Objectsnmp's automatic discovery of physical topology adopts a new technology: it supports single Cisco and Huawei networks, as well as mixed networks of various manufacturers' devices. Support fuzzy connection positioning, and try to find the connection relationship when the data is incomplete or the equipment is missing. It can work in any network environment without users making any assumptions about the network (such as router assumption, root switch assumption, uplink / downlink port assumption, edge device assumption, etc.). Resource discovery: search and find the network interface, board, hardware facilities, disk, memory, CPU, software services, etc. of the device. 12. Automatic java code generation technology provides automatic generation technology of Java data object code, which further simplifies SNMP development work. 13. The attached snmpmib data browser can be used alone or integrated into the program to use SNMP data browser, which is convenient for development and debugging. 14. Benchmark performance test results. The total time for a single thread to obtain 10000 SNMP objects (70000 snmpoid data) lt= 5 seconds multithreading concurrent 10000 SNMP object acquisition total time lt= For 30 consecutive days in 2 seconds, multiple threads obtain SNMP data concurrently, and the memory fluctuation is plus or minus 0.3m10 million SNMP object acquisition operations. In the multi-threaded concurrent environment, the accuracy rate is 100%
This document contains the following attachments:
ObjectSNMP\
ObjectSNMP\MibbleBrowser. cmd
ObjectSNMP\objectsnmp_ java_ api\
ObjectSNMP\objectsnmp_ java_ api\com\
ObjectSNMP\objectsnmp_ java_ api\com\zhtelecom\
ObjectSNMP\objectsnmp_ java_ api\com\zhtelecom\common\
ObjectSNMP\objectsnmp_ java_ api\com\zhtelecom\common\snmp\
ObjectSNMP\objectsnmp_ java_ api\com\zhtelecom\common\snmp\class-use\
ObjectSNMP\objectsnmp_ java_ api\com\....)

[下载]10040881164.rar




上一篇:webxl_03066
下一篇:ISA+SERVER+2004实验室手册