[SNMP4J] TableUtils: The difference between sparse and dense tables

Omair-Inam Abdul-Matin omairkhawaja at gmail.com
Tue Mar 16 17:01:43 CET 2010


Hi,

I was under the impression that the difference between sparse and dense
tables is that a sparse table does not have entries for a given MIB variable
at consecutive index whereas a dense table does.  However, I ran the
SNMPRequest test app on an app in dense and sparse table mode and in both
modes it was able to fetch nonconsecutive entries correctly:

Arguments: [-c, public, -v, 2c, -Ot, 10.4.115.198, 1.3.6.1.2.1.2.2.1.2]
Index = 1:
1.3.6.1.2.1.2.2.1.2.1 =
4d:53:20:54:43:50:20:4c:6f:6f:70:62:61:63:6b:20:69:6e:74:65:72:66:61:63:65:00

Index = 65539:
1.3.6.1.2.1.2.2.1.2.65539 =
50:61:72:61:6c:6c:65:6c:73:20:45:74:68:65:72:6e:65:74:20:41:64:61:70:74:65:72:00

Arguments: [-c, public, -v, 2c, -Otd, 10.4.115.198, 1.3.6.1.2.1.2.2.1.2]
Index = 1:
1.3.6.1.2.1.2.2.1.2.1 =
4d:53:20:54:43:50:20:4c:6f:6f:70:62:61:63:6b:20:69:6e:74:65:72:66:61:63:65:00

Index = 65539:
1.3.6.1.2.1.2.2.1.2.65539 =
50:61:72:61:6c:6c:65:6c:73:20:45:74:68:65:72:6e:65:74:20:41:64:61:70:74:65:72:00

Can someone explain to me what the difference, then, is between a sparse
table and a dense table?

Thanks,

Omair



More information about the SNMP4J mailing list