Robert Story
2015-07-16 01:13:57 UTC
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
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