Indy SNMP MIBAdd problem lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- waton · 2014-02-28 02:54 Hi, I'm trying to use SNMP Indy version 10.2.0.3, lazarus 1.0.14, fpc 2.6.2 on Ubuntu Linux 12.04 Code: [Select]procedure TForm1.Button1Click(Sender: TObject); var   mib: string; begin   IdSNMP1 := TIdSNMP.Create;   mib := '1.3.6.1.4.1.6247.24.1.2.3.1.0';   try     IdSNMP1.Host := '192.168.2.10';     IdSNMP1.Community := 'wublic';     IdSNMP1.Query.Clear;     IdSNMP1.Query.PDUType := PDUGetRequest;     IdSNMP1.Query.MIBAdd(mib,'');     if IdSNMP1.SendQuery then       Edit1.Text := IdSNMP1.Reply.MIBGet(mib);   finally     IdSNMP1.Free;   end; end;    The problem is that MIB truncated when sent to the agent, from 1.3.6.1.4.1.6247.24.1.2.3.1.0 become 1.3.6 only. This is response when using snmpget: Code: [Select]snmpget -v 1 -c wublic 192.168.2.10 1.3.6.1.4.1.6247.24.1.2.3.1.0 SNMPv2-SMI::enterprises.6247.24.1.2.3.1.0 = INTEGER: 71000000 Wireshark capture attached. Please advise. Thanks, Waton ---------------------------------------------------------------------- waton · 2014-03-01 03:45 Fixed! Updated to Indy 10.6 Thanks ---------------------------------------------------------------------- BigChimp · 2014-03-01 07:47 Thanks for posting that, waton!