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 。