[AGENT++] update is called for two tables

Karl Abicht karl at abicht.info
Thu Sep 16 13:32:32 CEST 2004


Hello again,

I have not got an answer Jochen ...


rtable1 has OID 1.3.6.1.4.1.3592.1.1.1.6
  etable1 has OID 1.3.6.1.4.1.3592.1.1.1.6.1
    column11 has OID 1.3.6.1.4.1.3592.1.1.1.6.1.1
    column12 has OID 1.3.6.1.4.1.3592.1.1.1.6.1.1
    column13 has OID 1.3.6.1.4.1.3592.1.1.1.6.1.1

rtable2 has OID 1.3.6.1.4.1.3592.1.1.1.7
  etable2 has OID 1.3.6.1.4.1.3592.1.1.1.7.1
    column21 has OID 1.3.6.1.4.1.3592.1.1.1.7.1.1
    column22 has OID 1.3.6.1.4.1.3592.1.1.1.7.1.2
    column23 has OID 1.3.6.1.4.1.3592.1.1.1.7.1.3

I sent the GETNEXT to rtable2 (1.3.6.1.4.1.3592.1.1.1.7) ! 
Sorry, you're right.

The problem seems to be in 'int Mib::find_managing_object(...)', the
incoming OID and Request is OK. But, in this case an entry from the previous
table is returned as 'managing object' in retval.
So, update is called for table1.

I'am not sure about what find_lower is doing, but in this case it returns a
wrong retval.



Thanks,

Karl


> Hi,
> 
> > 01 rtable1
> > 05    column3
> > 06 rtable2
> > 08    column1
> > 
> > If I send a GETNEXT request to rtable1 (line 06) my agent 'updates' not
> just
>                                        ^^ rtable2?
> > the table2, he also updates table1. 
> 
> before the search in the code begins: Is the OID in the GETNEXT request 
> within the subtree of rtable2?
> If you do a getnext to column1 of table2, is table 1 also updated?
> 
> Regards,
>    Jochen
> 

-- 
Dipl.-Ing. Karl Abicht
Eichenweg 11
25582 Hohenaspe

mailto: karl at abicht.net
phone: +49 4893 373115
mobile: +49 172 4566432
site: http://www.abicht.net



-- 
Dipl.-Ing. Karl Abicht
Eichenweg 11
25582 Hohenaspe

mailto: karl at abicht.net
phone: +49 4893 373115
mobile: +49 172 4566432
site: http://www.abicht.net



-- 
Dipl.-Ing. Karl Abicht
Eichenweg 11
25582 Hohenaspe

mailto: karl at abicht.net
phone: +49 4893 373115
mobile: +49 172 4566432
site: http://www.abicht.net



-- 
Dipl.-Ing. Karl Abicht
Eichenweg 11
25582 Hohenaspe

mailto: karl at abicht.net
phone: +49 4893 373115
mobile: +49 172 4566432
site: http://www.abicht.net




More information about the AGENTPP mailing list