Need to re-implement rfc 1213

Vivek Maurya <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAAOaSAYa+C0vVsPWDVRyZ2HhzJE-M4XKantH35cV+asVfhXwyA@mail.gmail.com>
Hi All,

Trying to re-implement rfc-1213. For testing purpose i follow these steps.

1. generate .c .h files from IF-MIN.txt using mib2c.array-user.conf

2. my_handler = netsnmp_create_handler_registration("ifTable",

 netsnmp_table_array_helper_handler,
                                             ifTable_oid,
                                             ifTable_oid_len,
                                             HANDLER_CAN_RWRITE
                                             );

3. my_handler->priority = 126;

4. netsnmp_table_container_register(my_handler, table_info, &cb,
                                     cb.container, 1);



5. build code and insert using dlmod.

But i am getting following error on snmpd.

*duplicate registration: MIB modules ifTable and ifTable (oid
.1.3.6.1.2.1.2.2).*
*duplicate registration: MIB modules ifTableLastChanged and
ifTableLastChanged (oid .1.3.6.1.2.1.31.1.5).*
*duplicate registration: MIB modules if number and if number (oid
.1.3.6.1.2.1.2.1).*

Afterr this, snmpd hanged or exit...

Please give any pointer to resolve it..
-- 

With Regards
Vivek

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.