简单网络管理协议帮助网络管理员实现对基于TCP/IP 网络的分布式系统的有效管理。管理员在本地计算机上(通常是一个工作站)使用“取—存”模式完成对代理的各种控制,而代理通过对SNMP 报文的分析将通信原语转换成等价的在本地数据结构上的操作。本文从SNMP 基本体系结构入手,提出了一种基于Visual C++的实时监测系统中SNMP 报文分析算法的实现。 关键词: 简单网络管理协议;管理站/代理;报文分析;算法 A Realization of SNMP Message Parse Algorithm in Real-time Monitoring System LU Wei-xia , LI Ou (Department of Communication Engineering, PLA Information Engineering University, Zhengzhou 450002,China) Abstract: A network manager can realize the management of distributed system based on TCP/IP through the Simple Network Management Protocols(SNMP).The manager uses “fetch-store”mode to control the agents and complete all kinds of operations. An agent performs the SNMP message parse to accomplish the communication primitives. This papar starts with the introduction of SNMP foundational system structure, then a SNMP message parse algorithm based on Visual C++ in real-time monitoring system is presented. Keywords:SNMP; Manager/Agent ; message parse; algorithm