Hello.

I have the following OID's:
.1.3.6.1.4.1.111111.1.3.1  //scalar
.1.3.6.1.4.1.111111.1.3.2  //scalar
.1.3.6.1.4.1.111111.1.3.3  //scalar
.1.3.6.1.4.1.111111.1.3.4  //table
.1.3.6.1.4.1.111111.1.3.5  //table
.1.3.6.1.4.1.111111.1.3.6  //scalar
.1.3.6.1.4.1.111111.1.3.7  //scalar
.1.3.6.1.4.1.111111.1.3.8  //scalar
.1.3.6.1.4.1.111111.1.3.9  //scalar
.1.3.6.1.4.1.111111.1.3.10 //scalar

Scalar OIDs I register with the help of netsnmp_register_scalar function and 
table OIDs I register using netsnmp_register_table_iterator (then I inject 
cache handle but if I remove it, the problem remains). So if I query a table 
using the next command:
        snmptable -v 2c -c public -r 0 -t 15 localhost:10161 
.1.3.6.1.4.1.111111.1.3.4
i get this table correctly. But when I look at logs, I see that handlers of all 
next OID's (.1.3.6.1.4.1.111111.1.3.5,    .1.3.6.1.4.1.111111.1.3.6,  ...,   
.1.3.6.1.4.1.111111.1.3.10) have been called. Why?

P.S. If I use snmptget for a table item or a scalar OID, only one handler is 
called. So, I think, the problem is in snmptable. What's wrong with it?

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to