Re: Engine ID discovery

sanjaykumar <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave Shield wrote:

On 6 April 2010 07:04, sanjaykumar <[email protected]> wrote:

I am going through the "Engine ID discovery" code.
Could someone explain me about this concept ??

In order to use SNMPv3, it's necessary to know the "engineID" of the
agent (or strictly speaking, the "authoritative SNMP engine" - which is
the agent for GET* and SET requests).

One way to do this is to specify the engine ID explicitly
(e.g. via the -e command line option). A number of other
SNMP toolkits work this way.

But the Net-SNMP code attempts to probe the remote agent
to discover this value, by sending a request without the engineID
in place. This request will fail, but the response that comes back
includes the engine ID (and possibly the boot count/uptime values
as well).
The client can then re-send the request including this information,
and hopefully the request should then succeed.

Dave

Hi Dave,

I am trying to send the snmp-inform to different SNMP-Manager.

But initially Engine ID is unavailable.

So we are sending the inform with WRONG engine ID, once we receive the
REPORT then we update the required data-structure

then RESENT the inform request and it is working fine. Does it correct approach ???????

or is there any standard violation ??

Or i need to discover the engine ID, first by sending the
GET request , Then send the inform request.

rgds,

Sanjay

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.