On Thu, 2005-05-26 at 19:01, Srinivasan Kandalam wrote:
> This is migration from net-snmp agent v2c using smux to v3 (with no smux 
> obviously),

Why "no smux obviously"?
You could use a SMUX subagent talking to an SNMPv3 master agent in
exactly the same way as talking to an SNMPv2c master agent.  The
SNMP protocol used is completely separate from the SMUX conversation.

Similarly for an AgentX subagent.


> Does the Security Model/Traps/VACM requires any settings done in the calling
> application?

What do you mean by "calling application" ?
The management client, or the SMUX subagent, or what?

The management client would need to specify SNMPv3 USM parameters
rather than a simple community string, but the VACM configuration
is purely handled by the master agent.

As far as a subagent (or embedded MIB module implementation) is
concerned, neither the security model nor VACM make any real
difference. All of that is handled by the master agent's main
driving code.  By the time the request reaches your code,
it looks pretty much the same - regardless of SNMP version.

Sending traps is version-independent too (at least for internal
MIB modules and AgentX).  Just use one of the "send_trap" API
calls, and the master agent takes care of the rest.


>  For GetBulk implementation is there any call back functions to be registered?

There's nothing special about handling GetBulk requests.
They're typically converted into a sequence of GetNext
requests internally within the agent itself.

The client management application would need to be ready to
interpret the results, but that's not significantly
different handling to a basic GetNext response.


> The traps will be sent by the Socket calls or call back functions?

You can sent traps manually if you like - see 'apps/snmptrap.c'
for the basic mechanism.  But the agent provides a trap API
("send_easy_trap", "send_v2_trap", "send_trap_vars")
  See the documentation or mailing list archives for details.


> If INFORM initiate a response back to originating component
> if there is a failure? 

No.
The agent will attempt to resend the notification automatically,
but if it fails completely, this information is discarded.

Dave



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
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