Hi, all,
I try snmpgetnext utility. MIB - 1.3.6.1.2.1.17.4.3.1.1
response:
SNMPv2-SMI::mib-2.17.4.3.1.1.0.1.108.166.23.107 = Hex-STRING: 00 01 6C A6 17
6B
i try synapse snmpsend (release39) in Delphi 2009.
procedure TForm1.Button1Click(Sender: TObject);
var
tab: TStrings;
i: integer;
mib, response: ansistring;
ip, comm: string;
begin
ip:='192.168.11.10';
comm:='public';
mib:='1.3.6.1.2.1.17.4.3.1.1';
if SNMPGetNext(mib, comm, ip, response) then
begin
....
end;
end;
response like this - #0#1'l|'#$17'k' (what is it?)
try other mib - 1.3.6.1.2.1.17.4.3.1.2
response - 25 (this is correct).
Synapse bug if mib value is Hex-STRING??? Or my mistake?
Thanks for help.
Remigijus
P.S.
My english bad. :((
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public