Hi Dave and others, Few more doubts..
I read the following about SNMPv3:
---The user database in a SNMPv3 application is referenced by a
combination of the user's name("security name") and an identifier
for the given SNMP application you are talking to("engineID").---
My question:
Let's say A(SNMP Agent) and B(SNMP Manager) are my two applications. So
if I have to make a get request from B->A, then on B's user database
three things will be stored i.e. "user name" and "password"(provided as
param to snmpget) and "engineID of A"(as mentioned in above statement).
* How does B fetches the engineID of A and what it is composed of?
* Will the same procedure be followed if I use any other SNMP Manager
application(other than ucd-snnmp's 'snmpget' app.)
and I read this also:
---The SNMPv3 TRAPs use the engineID of the 'local' application(sending
the traps) rather than the engineID of the 'remote' application---
My question:
If I send traps from A->B, lets say using 'snmptrap' application like:
snmptrap -v 3 -u myuser -a MD5 -A mypass -l authNoPriv B's_address 42
coldStart.0
Now, where does the engineID play a role here and how does the trap
receiver compare this engineID send by A?
Any help would clear my doubts.
Thanks
Soni
Dave Shield wrote:
>
> > when I give the version as --
> > trapsess -v 2c localhost:9001
> > then the snmptrapd receive all the traps, but with -v 3 it doesn't
> > receive anything....not even the Cold Start trap from agent.
>
> You need to specify *all* the SNMPv3 settings in the "trapsess" line -
> i.e. the username, security level and (for anything other than
> noAuthNoPriv) the authentication/privacy passwords.
>
> It's nothing to do with snmptrapd - the problem is that the agent
> doesn't have enough information to actually send the trap in the
> first place. Unlike the command-line tools (such as "snmptrap")
> it doesn't use the settings from snmp.conf files.
>
> Dave
>
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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