Re: NET SNMP Sub agent And Master Agent Connection

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 17 March 2010 13:28, Ashish vashishtha <[email protected]> wrote:
> I am getting this crash sometimes from the sub agent code.
   [snip]
> than through the register function from teh main application i am
> registering the OIDS with the master agent.

And this is where the subagent crashes?


> #14 0x08780664 in CSnmpAgent::Register (this=0xb71f3918, Name=0x87e66bb
> "TotalNumberOfUser")

What does this code look like?

Is this the first thing that the subagent tries to register, or are there
other (successful) registrations first?


It looks as if the subagent is processing a response to the callback request
when it falls over.  Try turning on packet dumps (either in the subagent or
the master agent).   What is the last pair of packets that gets sent/received
before the crash?

Dave

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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.