On Tue, 26 May 2015 12:51:43 +0530 Vivek wrote:
VM> Trying to re-implement rfc-1213. For testing purpose i follow
VM> these steps.

Hi Vivke,

Did you ever get this working?

VM> 3. my_handler->priority = 126;
VM> 
VM> 4. netsnmp_table_container_register(my_handler, table_info, &cb,
VM>                                      cb.container, 1);
VM> 
VM> 5. build code and insert using dlmod.
VM> 
VM> But i am getting following error on snmpd.
VM> 
VM> *duplicate registration: MIB modules ifTable and ifTable (oid
VM> .1.3.6.1.2.1.2.2).*
VM> *duplicate registration: MIB modules ifTableLastChanged and
VM> ifTableLastChanged (oid .1.3.6.1.2.1.31.1.5).*
VM> *duplicate registration: MIB modules if number and if number
VM> (oid .1.3.6.1.2.1.2.1).*
VM> 
VM> Afterr this, snmpd hanged or exit...

What release are you using? Duplicate registration message should
only happen if the OID and priority are the same. The default is
127, so 126 should be ok, but trying a higher priority couldn't
hurt.


Robert

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to