Hi, A dense table is something like:
Index | Values 1 | 1 one xxx 3 | 3 three zzzz 3845 | 4 four kdjfgh Then a sparse table is: Index | Values 1 | 1 one xxx 3 | 3 zzzz 3845 | four kdjfgh where individual cells are missing (there are not NULL, because NULL must not be returned by an agent on GETNEXT or GETBULK). Best regards, Frank On 16.03.2010 17:01, Omair-Inam Abdul-Matin wrote: > 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 > _______________________________________________ > SNMP4J mailing list > [email protected] > http://lists.agentpp.org/mailman/listinfo/snmp4j -- AGENT++ http://www.agentpp.com http://www.snmp4j.com http://www.mibexplorer.com http://www.mibdesigner.com _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
