On 30 August 2011 08:02, Ravi Kumar Kodam <[email protected]> wrote: > i want to know how the snmp manager comes to know about the engine id of a > snmp agent.
For most situations, the manager will "probe" the agent to determine the engine ID. This typically involved sending a dummy request, in the full expectation that this will fail. However the error response that is returned will include the necessary engine ID (and possibly the boot time information), which can then be used to send the real request. > I am testing snmp v3 traps > receiving at manager. OK - that's the one exception to this. When sending SNMPv3 traps (as opposed to informs), the engine ID that is used is that of the *sending* side, rather than the receiver. So this probe approach doesn't work, In this case, the notification receiver would need to be configured with the engine ID of the sender beforehand. > When i restart the agent the engine id of the agent changing. That's a problem. The engine ID is meant to be fixed for any given SNMP entity (be it manager, agent, or trap receiver). If this is changing every time, then you are going to struggle. Is this a Net-SNMP agent? Because that's certainly not meant to happen - the Net-SNMP agent will write the engine ID to the persistent config file when it is run for the first time. And thereafter it will use this saved value. If that's not working, then something is probably wrong with how the agent is reading the config files. If you are using a different agent, then I suggest you complain to the vendor who supplied it. The engine ID should not be changing. Dave ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
