>> From: Chris Nelson [mailto:[EMAIL PROTECTED]

>> My monitors are surely talking only to snmpd so I wonder if snmpd
>> opens a new session to the subagent for each incoming session/request
>> or if it keeps a session open to the subagent and uses it over and
>> over.

There's a persistent Net-SNMP session connection established between
the master and subagent.   This is used for all request/response
dialog between the two.
   (Note that it's actually the subagent that establishes this session,
not the master agent.  But I doubt that is relevant to your problem).

I'd agree with Mike - the first thing to do would be to identify whether
this is an issue between the master and subagent, or between the
master and your monitoring application.


2008/10/7 Mike Ayers <[EMAIL PROTECTED]>:
>        AgentX is single-session by design.

That's not strictly true, Mike.
The AgentX protocol supports the idea of multiple sessions between
the same subagent/master pair.  See RFC 2741, section 6.1:

      h.sessionID

            .....  A subagent may establish multiple AgentX sessions
            by sending multiple agentx-Open-PDUs to the master agent.


I haven't checked the Net-SNMP code, as to how this is implemented
(or even if it's supported at all).  I strongly suspect it hasn't really
been tested in anger.


Dave

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Reply via email to