 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
alex@ise-spb.org Guest
|
Posted: Mon Dec 26, 2005 12:07 pm Post subject: IdSNMP - get ifPhysAddress |
|
|
Hello, All!
I can't get Physical adress of interface:
SNMP->Community = "...";
SNMP->Host = "...";
SNMP->Query->Clear();
SNMP->Query->PDUType = PDUGetRequest;
SNMP->Query->MIBAdd("1.3.6.1.2.1.2.2.1.6.1","");
SNMP->SendQuery();
for ( int i = 0; i < SNMP->Reply->ValueCount; i++)
Memo1->Lines->Add(": " + SNMP->Reply->ValueOID[i] + " {" +
SNMP->Reply->ValueType[i] + "} = " +
SNMP->Reply->Value[i]);
and I get nothing! ( 1.3.6.1.2.1.2.2.1.6.1 {4} = )
but if to see tcpdump output between server and client, there are
response:
12:42:02.916990 IP client.3167 > server.161: GetRequest(27)
..1.3.6.1.2.1.2.2.1.6.1[objVal!=NULL]""
12:42:02.918527 IP server.161 > client.3167: GetResponse(33)
..1.3.6.1.2.1.2.2.1.6.1=00_30_4f_09_23_09
p.s. BCB6.0 Indy10
|
|
| Back to top |
|
 |
Riki Wiki Guest
|
Posted: Sun Jan 01, 2006 10:28 pm Post subject: Re: IdSNMP - get ifPhysAddress |
|
|
Hoi Alex
You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question.
Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|