On Tue, Oct 31, 2006 at 05:24:27PM +0900, Zhang Chuan wrote:
 
> I have two tables in my MIB file. One is A_table, the other is B_table. The
> OID of A_table is:.1.3.6.1.4.1.236.4.6.1.3.1.2. The OID of B_table is:
> .1.3.6.1.4.1.236.4.6.1.3.1.3. Both of A and B tables have no data.
> 
> 1. I use AdventNet to get the A_table data. The AdventNet sent "getNext"
> message to agent:
> 
> The list are copied from my Tera Term:
>  GETNEXT message
>    -- SNMPv2-SMI::enterprises.236.4.6.1.3.1.2.1.1
>    -- SNMPv2-SMI::enterprises.236.4.6.1.3.1.2.1.2
>    -- SNMPv2-SMI::enterprises.236.4.6.1.3.1.2.1.3
>    -- ... ... ... ...
>    -- SNMPv2-SMI::enterprises.236.4.6.1.3.1.2.1.16
> Totally, there are 16 fields in A_table.
> 
> 2. The agent searched the A_table. Since there are no data, it should sent
> NULL to AdventNet.
>    But after searched A_table, agent CONTINUE search in B_table! And since
> B_table has no data neither, the agent will be some errors and exit.
> 
> Who can tell me why agent will search B_table continuely? And how to prevent
> the agent to search it?

A getnext simply means "get the next instance in the ordered lists of
instances in your view" -- a getnext does not understand anything
about tables.

/js

-- 
Juergen Schoenwaelder               International University Bremen
<http://www.eecs.iu-bremen.de/>     P.O. Box 750 561, 28725 Bremen, Germany

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to