Hi,

My purpose is to serve all SNMP mib requests through subagents including
standard mibs like IF-MIB, IP-MIB, TCP-MIB etc with agent acting merely as
master agent with agentx support and passing on all mib requests to
registered subagents.

I tried below configure options and could successfully build too, virtually
building only agent & utilities modules.

./configure --disable-mibs
--with-out-mib-modules=mibII,ucd_snmp,agent_mibs,disman/event,disman/schedule,host,udp-mib,snmpv3mibs,target,notification,notification-log-mib,snmp-notification-mib

*However, when I run IF-MIB mib as subagent code, master gives "duplicate
registration" error though agent/mibgroup/if-mib is not part of the build.
How to disable master's OID registrations for all standard mibs ?*

Net-snmp code version used : 5.7.3

Master is run as :
sudo snmpd -f -Lo  -C --rwcommunity=public --master=agentx

IF-MIB Subagent:
NET-SNMP version 5.7.2 AgentX subagent connected

*registering pdu failed: 263!registering pdu failed: 263!*
subagent_ifMIB is up and running.

Error on master:
duplicate registration: MIB modules ifXTable and AgentX subagent 5, session
0x11c9030, subsession 0x11da2d0 (oid .1.3.6.1.2.1.31.1.1).
duplicate registration: MIB modules ifTableLastChanged and AgentX subagent
5, session 0x11c9030, subsession 0x11da2d0 (oid .1.3.6.1.2.1.31.1.5).

Thanks,
Sreek
------------------------------------------------------------------------------
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