Use ucd-snmp to complete the source code of the SNMP Agent (1)

Source: Internet
Author: User

Ucd-snmp is indispensable for snmp. So we have repeatedly introduced the relevant source code. Next we will introduce the open source development of relevant protocols and discuss how to develop your own snmp Agent using the open source ucd-SNMP 4.2.1 software package, this article introduces the group packages and parsing of SNMP protocol packages in the following sections:

I. ucd-snmp 4.2.1 introduction and SNMP Agent development steps

Ii. MIB library module design and Code Conversion

Iii. SNMP Agent feature Extension

IV. Implementation of SNMP Agent in uCLinux

5. Create the SNMP Agent configuration file snmpd. conf.

I. ucd-snmp 4.2.1 introduction and SNMP Agent development steps

Ucd-snmp 4.2.1 the open-source software package supports three versions of SNMP: SNMPv1 (RFCs 1155-1157), SNMPv2c (RFCs 1901-1908), and SNMPv3 (RFCs 2271-2275, it consists of the following content:

Scalable SNMP Agent Program (snmpd );

SNMP Agent and Management Program Development Library;

Tool programs used to retrieve or set SNMP Agent variables (snmpget, snmpset, snmptable, snmpwalk, etc );

Tool programs used to generate or process SNMP Traps (snmptrapd and snmptrap );

MIB browser (tkmib) based on Tk/perl)

The following steps are generally used for SNMP Agent Development:

MIB library module design 。

The MIB library module is converted to C code 。

The converted C language code is added to the ucd-snmp source code package to implement SNMP Agent Function Extension 。


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.