Hi Dave,
            If I dont use -DALL, I do not see any debug out other than the seg 
fault message.

This time I tried running only the standard agent and including all the 
modules.. Everything works fine. udpTable shows up without any issues..

The moment I exclude the "ifTable" it starts giving the segfault. So it looks 
like when I exclude the "ifTable" from the agent I should take care of 
something more??
Do we need to handle any other MIB code when ifTable is implemented by 
subagent? What are the other dependencies? 

Thanks for all your efforts.

Regards,
Malathi




________________________________
From: Dave Shield <[email protected]>
To: Malathi Panyam <[email protected]>
Cc: [email protected]
Sent: Thu, April 1, 2010 12:26:26 AM
Subject: Re: Seg fault when querying for the UDP table

On 31 March 2010 23:30, Malathi Panyam <[email protected]> wrote:
>             I tried using the debug flags you provided

No - you turned on *ALL* debugging.
So any useful information promptly gets buried in a mass of output.

There's also not a lot of point in turning on the udpEndpointTable
debug output if you also disable this module altogether.

I suggested that you turned on debugging, *OR* disabled the
module - two mutually exclusive alternatives.

Please try the original suggestion first - enable the selected
debugging tokens *only*, and leave all modules active.



> I would like to mention I do override the ifTable and ifXTable functionality
> in my subagent code..and we use Net SNMP 5.4.2.1.

What happens if you don't run your subagent?
Try *just* starting the standard Net-SNMP agent, and
run a GetNext on the udpEndpointTable.

Does the agent crash?
What does the debug output look like?

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

Reply via email to