当前位置:网站首页>SNMP protocol related information

SNMP protocol related information

2020-12-06 23:30:07 havealex

SNMP Information about the agreement

brief introduction

SNMP Is specially designed for use in IP Network management network nodes ( The server 、 The workstation 、 Router 、 Switch and HUBS etc. ) A standard protocol for , It's an application layer protocol . SNMP Enables network administrators to manage network performance , Identify and solve network problems and plan for network growth . adopt SNMP Receive random messages ( And incident reports ) The network management system was informed that there was a problem with the network .

SNMP Its predecessor is simple gateway monitoring protocol (SGMP), Used to manage communication lines . And then , People are right. SGMP A lot of changes have been made , In particular, the inclusion of a fit Internet Defined SMI and MIB, The improved protocol is known as SNMP. be based on TCP/IP Of SNMP Network management framework is the current standard in industry , from 3 The main parts are , It's the structure of management information SMI(Structure ofManagement Information)、 Management information base MIB And management agreement SNMP.

SMI Defined SNMP Organization and identification of the information used in the framework , by MIB Define management objects and use management objects to provide templates . MIB It defines that you can use SNMP A collection of administrative objects to access . SNMP Protocol is the application layer protocol , It defines how the network manager handles the agent process MIB Object for read and write operations . SNMP Medium MIB It's a tree database ,MIB The object of Management , It's the end node of the tree , Each node has a unique location and a unique name .IETF Specify the management information base object identifier (OID,Object Identifier) Only specify , The naming rule is that the name of the parent node is used as the prefix of the name of the child node .

Part of the

One SNMP The managed network consists of the following three key components :

  • Network management system (NMS,Network-management systems)
  • Managed devices (managed device)
  • Agent (agent) The network management system runs applications , Use this application to monitor and control managed devices . Also known as the management entity (managingentity), The network administrator is here to interact with network devices . Network management system provides a lot of computing and memory resources needed by network management . A managed network may have more than one network management system . The managed device is a network node , It contains a... That exists in the managed network SNMP Agent . Managed devices through the management information base (MIB) Collect and store management information , And let the network management system through SNMP The agent gets this information . Agent is a kind of network management software module existing in the managed device . The agent controls the management information of the local machine , In harmony SNMP Send this information in a compatible format .

Related information

- be based on W5500+STM32 Of SNMP Protocol application

- use SNMP Protocol to achieve system monitoring

《Visual C++ Based on Development SNMP Network management software ( The first 2 edition )》. Wu Mengjun .2009 year . People's post and Telecommunications Press .pdf

snmp Of c# Realization

Found a library that works pretty well ,SnmpSharpNet. The official website is :http://www.snmpsharpnet.com/

snmp Of C++ and Java Implementation library

  • net-snmp
  • SNMP++ SNMP++v3.x is based on SNMP++v2.8 from HP and extends it by support for SNMPv3 and a couple of bug fixes. SNMP++v3.x is a C++ API which supports SNMP v1, v2c, and v3. The v3 support for SNMP++ is provided by courtesy of Jochen Katz (katz07@agentpp.com).

SNMP++v3.x extends the original SNMP++v2.8 code base by the following: SNMPv3 including User Security Model (USM) with: MD5, SHA, and SHA-2 authentication protocols DES (CBC), AES (128/192/256 bit), 3DES (EDE) privacy protocols Thread-safety Bug-fixes

  • SNMP4J SNMP4J is an enterprise class free open source SNMP implementation for Java SE. The following SNMP versions and security protocols are supported:

    • SNMP v1, v2c, and v3
    • MD5, SHA, and SHA-2 authentication protocols
    • DES (CBC), AES (128/192/256 bit), 3DES (EDE) privacy protocols SNMP4J as a built-in interface for MIB data (implemented by SNMP4J-SMI-PRO) for seamless usage of MIB object names instead of cumbersome object identifiers (OIDs).
  • AgenPro AgenPro is the most advanced and flexible code generation software available for SNMP development today.

With its open-source code generation back-end, AgenPro provides you full control about format, scope, target API, and even programming language of the generated code. Ready-to-use templates are included for:

- SNMP4J-Agent/-AgentX
- AGENT++/AgentX++.

The features are rounded out by a built-in SNMPv1/v2c/v3 agent simulator with live data editing for easy testing of command generator applications.

AGENTPP SNMP software is dedicated to make the simple in Simple Network Management Protocol come true for developing SNMP agents and applications (Java/C++) as well as authoring (SMI) MIBs. Our software packages achieve this objective by a clear and true object oriented design and implementation.

Standard conformance, long term maintainability, and usability are leading goals for any AGENTPP development. As a matter of course, all security relevant APIs are available as open source for maximum transparancy.

VS2017 compile SNMP++ Step record

WinSNMP API

Nodejs snmp API

Nodejs There are a few about snmp The library of protocols :

  • net-snmp JavaScript implementation of the Simple Network Management Protocol (SNMP)
  • snmp-node This is a native SNMP library for Node.js. The purpose is to provide enough functionality to perform large scale monitoring of network equipment.
  • snpm snmp for node.js This library 9 It hasn't been updated for more than years , Better not use .

版权声明
本文为[havealex]所创,转载请带上原文链接,感谢
https://chowdera.com/2020/12/20201206232229991j.html