On Mon, 26 Jun 2006 14:17:32 -0400
Robert Story <[EMAIL PROTECTED]> wrote:

> On Mon, 26 Jun 2006 18:09:03 +0400 Konstantin wrote:
> KA> I've encountered that MIBs, supported in MFD style (and registered with 
> KA> "baby steps" handler) does not return "no such instance" error in
> KA> appropriate situations. 
> KA> 
> KA> Agent (5.3.0.1) was configured with option --enable-mfd-rewrites 
> KA> (I can send all configure command line, if neccessary). 
> 
> The rewrites part isn't needed on 5.3.x (just in 5.2.x).

You mean that if I want allow set/create operation on table, which is supported
with MFD handlers, this option is not neccessary? 

> 
> KA> This agent send wrong responses to gets for non-existant table rows: 
> KA> 
> KA> dior:build$ snmpget -v2c -c public localhost ifType.20
> KA> Error in packet
> KA> Reason: noCreation (that table does not support row creation)
> 
> Yep, you're right. Can you please file a bug report?

I've almost fix it. 
Really, we (OktetLabs Ltd.) want to use NET-SNMP agent for some product, 
and I'm testing its support of standard network MIBs (IP-MIB and 
IP-FORWARD-MIB). 

Currently I've fix a lot of minor bugs, mainly related to creation of new rows, 
and add route support via netlink library. 
I'm going to post them here soon. 

> KA> Moreover, for tables with more complex SNMP table index sometimes occures
> KA> other errors: genErr, or agent crush with segmFault. 
> 
> For our tables, or your own? If it's ours, please provide details so I can try
> to reproduce and fix them. 

For tables ipAddressTable, ipCidrRouteTable, inetCidrRouteTable. 

Currently I don't want to post bug and wait while it will be fixed (we need
working SNMP agent ASAP). I want to discuss how it should be fixed correctly, 
and to do myself this work.

The problem arises becouse _object_lookup callback does not know 
what kind of request is processed - GET* or SET. It return error, respective
to SET callback. 

It seems for me that one of the handlers _baby_steps_helper() or 
_baby_steps_access_multiplexer() should recognize that request is GET*, but
got error is according to SET operation, turn off error status, leave 
varBind type "no-such-instance" and stop calling handlers list. 

-- 
Konstantin V.Abramenko
OKTET Labs.

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