Re: snmpwalk does not walk the table when using dynamic load.

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 16 March 2010 19:09, Wei Zheng <[email protected]> wrote:
> When doing snmpgetnext, it returns the top of next table.
>
> # snmpgetnext -c public localhost lmPlNumber.0
> LOCAL-MIB::lmPlStatResetStats.0 = INTEGER: 0
>
> (** It should be:
> LOCAL-MIB::lmPlName."test1" = STRING: test1
> **)


That would explain the behaviour you're seeing, yes.
   (Forget about snmpwalk - that's operating
    correctly. The problem lies in your MIB module)


Can you walk 'lmPlTable' correctly?

How are you registering lmPlNumer and lmPlTable?
What does the code look like?

Try
     snmpwalk ... nsModuleName  | grep {OID}

where {OID} is the (numeric) OID of 'lmPl'
What does that report?

Dave

PS: Please keep *all* responses on the list.
      I will typically delay responding to any queries
      sent privately to me for a minimum of 24 hours.

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