On Sun, 2005-07-17 at 22:37 -0700, mahua dutta wrote: > > I am facing one problem . I have already one smux > > peer agent. Master agent(magt) uses the 199 port. > > > > Net-snmp( version net-snmp-5.2.1) in linux also uses > > the 199 port.
Note that the Net-SNMP agent only runs as a SMUX *master* agent. It doesn't support operating as a SMUX peer. > > So it is mutually exclusive. I can > > run one of them. You can only run one of them as a SMUX master agent, yes. There can only be one master - SNMP is a dictatorship, not a democracy :-) > > But I need to run both. Just to clarify - what management information does the 'magt' agent provide itself (rather than via the SMUX peer)? If it doesn't, then one possibility would be for the Net-SNMP agent to replace the 'magt' agent, and the SMUX peer to register with that instead. But if both 'magt' and the Net-SNMP agent implement management information, then you'll need to find another means of communication between them. You *can* run both - but only one can act as the SMUX master. What other extension mechanisms does the 'magt' agent support? AgentX? Proxy delegation? > As I said magt uses tcp/199 port and snmpd also tries > to bind tcp/199 port, The Net-SNMP agent only tries to bind the tcp/199 port when it's configured as a SMUX master. If 'magt' is looking after that side of things, then you can safely omit the SMUX code from the Net-SNMP agent, and it won't try to open that port. > the following error comes in > snmpd.log but snmpd starts and works fine > "[init_smux] bind failed: Address already in use" > I like to know is it a warning or an serious error. It's a warning. It just means that the Net-SNMP agent won't be able to generate SMUX requests to the subagent. But 'magt' is handling that anyway, so it's probably not important. What feels of more concern is what port the two main agents are listening for SNMP requests on. They can't both use the standard 161 port. Dave ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders