Re: AgentX semantics

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
>> 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
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.