I think there is an error in the library : asn1util.pas
In function ASNItem the var of y should be y : int64; (not integer as the result could be more than 2147483647 Regards On 08/03/2012 10:20, nedvigimost wrote:
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 synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public
-- Lionel Drevon ldre...@adeli.fr ad...@adeli.fr http://www.adeli.fr Adeli 618 Av. Gal de Gaulle 69760 LIMONEST Tel 04 78 66 11 85
<<attachment: lionel.vcf>>
------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public