IpNetToMediaTable query (was Re: [SNMP4J] please help...)

dvd at gazeta.pl dvd at gazeta.pl
Tue Apr 18 16:55:02 CEST 2006


Thanks Jacek, but the problem is not solved.
Your tip is quite nice, I didn't know that ipNetToMediaEntry table
has got 2 indexes. Your guess is correct - I use GET instead of
GETNEXT. 

However if I want to read some informations from the other tables in
IP mib, eg. ipAddrTable (1 index) the null is in the response.

I've just tried to read ipAdEntAddr so I sent GET request for
objects like: 1.3.6.1.2.1.4.20.1.1.1.0, 1.3.6.1.2.1.4.20.1.1.1,
1.3.6.1.2.1.4.20.1.1, 1.3.6.1.2.1.4.20.1.1.0 and there was always
'no such object found'.

And I still don't know why...

Regards,
Telc








Hi,

Marco.Bresciani at alcatel.it wrote:
> Uhm... Have you tried adding a ".0" at the end? I had similar problems
> from time to time.

Common case, but it's not the issue here; it's a table not scalar.

IpNetToMediaTable is indexed with ipNetToMediaIfIndex
ipNetToMediaNetAddress,
so we have 1.3.6.1.2.1.4.22.1.3.x.y

My guess is that dvd at gazeta.pl is just using snmp get instead
of getnext for querying 1.3.6.1.2.1.4.22.1.3.x  (notice missing
'y' here).

Regards,
Jacek


_______________________________________________
SNMP4J mailing list
SNMP4J at agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j




-- 
Juz 22 i 23 kwietnia castingi miedzynarodowego Konkursu modelek Elite Model Look. Wiecej informacji na stronie http://www.gazeta.pl/elitemodellook



More information about the SNMP4J mailing list