[SNMP4J] TableUtils: The difference between sparse and dense

Smith, Gary Gary.Smith at flukenetworks.com
Thu Mar 18 12:06:32 CET 2010


If you look at the source (including the latest v1.11) you will see that
Dense Table is not implemented, there is no difference between
TableUtils.getTable() & TableUtils.getDenseTable().



Regards

Gary



Date: Wed, 17 Mar 2010 01:26:36 +0100
From: Frank Fock <fock at agentpp.com>
Subject: Re: [SNMP4J] TableUtils: The difference between sparse and
	dense tables
To: snmp4j at agentpp.org
Message-ID: <4BA021BC.60600 at agentpp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

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
> SNMP4J at agentpp.org
> 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
SNMP4J at agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j


End of SNMP4J Digest, Vol 74, Issue 14
**************************************


Please be advised that this email may contain confidential information.
 If you are not the intended recipient, please do not read, copy or
re-transmit this email.  If you have received this email in error,
please notify us by email by replying to the sender and by telephone
(call us collect at +1 202-828-0850) and delete this message and any
attachments.  Thank you in advance for your cooperation and assistance.

In addition, Danaher and its subsidiaries disclaim that the content of
this email constitutes an offer to enter into, or the acceptance of, 
any
contract or agreement or any amendment thereto; provided that the
foregoing disclaimer does not invalidate the binding effect of any
digital or other electronic reproduction of a manual signature that is
included in any attachment to this email.



More information about the SNMP4J mailing list