SNMP MIB Implementation clarification in RI 1.2.1
I have gone through the document saying RI_Platfrom SNMP Support from Wiki.
I have few queries.
1. When RI boots up Agent will be running in the seperate thread with all the MIBS hosted by it from RI_Platform/src/snmp/orig, The MIB filesare generated from MIB2c utility.
I don't think they will provide default values for the OID'S of those MIBS.
Let's take an example of hrStorage.c file under "RI_Platform/src/snmp/orig"
If some one queries for the OID 1,3,6,1,2,1,25,2,2 then the implementation
(u_char *) /* XXX: a pointer to the scalar's data */,
/* XXX: the length of the data in bytes */);
Won't retun any thing.
Please comment on this.
2. If MIB2c Utility registers for all the OID's where some are part of RI_Stack like Application information table, Since the registration for the OID happened from the platform the registration for the same OID never succeed and we never get the values when some one queries for the OID.