Hi all,
I hope this is the place to be for questions like this..
I am using synapse snmpsend.pas, and I must say, I like it a lot.
However I am having an issue / item I cannot resolve yet.
I use the following code to fill a stringgrid with some items retrieved from a
cisco voice-enabled router:
tabel := TStringlist.Create;
tabel.Clear;
calls := 0;
rule := Tstringlist.create;
snmpGetTable('1.3.6.1.4.1.9.9.63.1.3.2.1','community','ip-host', tabel);
Stringgrid2.RowCount := tabel.Count;
if tabel.count >0 then
begin
for cnt := 1 to tabel.count -1 do
begin
rule.Delimiter := ',';
rule.QuoteChar :='"';
rule.Clear;
rule.DelimitedText := tabel[cnt];
StringGrid2.Rows[cnt].Assign(rule);
end;
end;
This code reads a table with about 40 colums, and aproximately 60 to 80 rows.
Some lines are displayed wrong in the table like missing the first parts of the
strings (the first strings are missing, so the strings appear in a wrong column.
If I test the same MIB in Ireasoning MIB-browser, I see it is quicker, and is
not missing any information.
Is there any way to:
- maybe read this table more efficient?
- increase the speed of reading the table?
- any information on maybe how to write another gettable function?
- or maybe a way to read only one specific column (or a few interesting colums)
without reading the rest of the columns?
Thanks, and hope to get some information,
Best regards,
Ruud.------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public