On Mon, Jan 11, 2010 at 11:30 AM, Dave Shield <[email protected]>wrote:

> 2010/1/11 Fulko Hew <[email protected]>:
> >> What happens if you start walking shortly after this point?
> >> Say ipRouteTable?  or ipAdEntTable?
> >
> > It faults on getnext ipRouteTable
>
> OK - It looks as if the problem lies within the ipRouteTable code.
> Try using "-I-{token}"  to disable this table, and check that
> the agent runs successfully.
>  ("{token}" should match the name of the relevant "init_{token}"
> routine - I'm not sure offhand which code you'll be using, and
> hence which init routine you need to disable)
>

Using the -Dmib_init option to find the token names, the only thing I could
disable
was the whole 'ip' table.  Doing so allowed me to walk 'everything' else.
(But I guess I can't disable just the ipAddrTable or ipRouteTable.)

> snmpwalk   ipNetToMediaTable -> doesn't segfault, the daemon returned
> >      a packet,  but 'walk' didn't output anything
>
> Try using "snmpgetnext" instead of "snmpwalk".
> That will report the results returned, regardless of the OIDs involved.
>

But it does sound as if you've managed to pinpoint the problem anyway.
>

So the problem is in  the handling of  ipAddrTable and ipRouteTable...
now what?

I'll look at that part of the code while I wait for feedback,
but I'm afraid I'm out of my expertise in Net-SNMP source code
and/or AIX kernel structures.  :-(

Fulko
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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