Hello all,

I'm trying to snmpwalk a simple table, the output shows
MY-MIB:dataTable = No more variables left in this MIB view.
The agent returns these debug messages: 
-----------------------------------------------
NET-SNMP version 5.4.2
handler:calling: main handler bulk_to_next
handler:calling: calling handler bulk_to_next for mode GETNEXT
handler:returned: handler bulk_to_next returned 0
handler:calling: calling handler table for mode GETNEXT
handler:calling: calling handler table_container for mode GETNEXT
handler:returned: handler table_container returned 0
handler:returned: handler table returned 0
handler:calling: main handler bulk_to_next
handler:calling: calling handler bulk_to_next for mode GETNEXT
handler:returned: handler bulk_to_next returned 0
handler:calling: calling handler null for mode GETNEXT    
handler:returned: handler null returned 0
------------------------------------------------
The last two line seem bad to me.


I have other scalars in MY-MIB which when walked through gives 
correct values. The snmpd debug messages are as following:
------------------------------
......
handler:calling: main handler bulk_to_next
handler:calling: calling handler bulk_to_next for mode GETNEXT
handler:returned: handler bulk_to_next returned 0
handler:calling: calling handler serialize for mode GETNEXT
handler:calling: calling handler scalar for mode GETNEXT
handler:calling: calling handler instance for mode GETNEXT
handler:calling: calling handler dataSetName for mode GET
handler:returned: handler dataSetName returned 0
handler:returned: handler instance returned 0
handler:returned: handler scalar returned 0
handler:returned: handler serialize returned 0
......
----------------------------

The scale code is generated by mib2c.scalar.conf and the table code is
generated by mib2c.mbf.conf. 
All code are compile under netsnmpmibssdk.dsp project and statically
linked to snmpd.exe

Any help is great appreciated.
Jing


-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to