Hello,
I am using Synapse and try to get count of traffic from cisco gigabit
port by SNMP, use 64-bits counters(1.3.6.1.2.1.31.1.1.1.6) ,
but i get not valid information, such as
?
 ¶uf
?Cµt
????
If i use 32-bit counter(1.3.6.1.2.1.2.2.1.10) - all is ok

var
snmp : tsnmpsend;
begin
snmp := tsnmpsend.Create;
try
memo3.Lines.Clear;
snmp.Query.Clear;
snmp.Query.Version := 2;
snmp.Query.Community:='public';
snmp.TargetHost := '192.168.1.6';
snmp.Query.PDUType := PDUGetRequest;
snmp.Query.MIBAdd('1.3.6.1.2.1.31.1.1.1.6.5','',ASN1_NULL);
if snmp.SendRequest then
begin
memo3.Lines.Add(snmp.Reply.MIBGet('1.3.6.1.2.1.31.1.1.1.6.5'));

end;
finally
snmp.Free;
end;


Is the way to decode that value?
Thank you.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to