AgentX semantics

"Chris Nelson" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I'm sure this is in a spec somewhere and surely knowable from the code
but if someone can answer off the top of their head, it'd save me a
lot of digging and I'd appreciate it.

I have a multi-threaded application which acts as an AgentX subagent
for a couple of MIBs and I have monitoring programs that gather data
via SNMP.

* When I run my text-based monitor (which opens a session and
repeately queries the MIB), all it well.

* When I run my web-based monitor (which repeatedly runs a CGI which
opens a sesssion, gets the data, and closes the session), my
application hands after 20 or so requests.

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.  If the former, that would explain how my CGI can hang my
application.  If the latter, I have to look elsewhere.

Thanks for any pointers.


                                            Chris

-------------------------------------------------------------------------
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.