BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TIdSnmp

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Fernando Moreira
Guest





PostPosted: Mon Sep 12, 2005 2:07 pm    Post subject: TIdSnmp Reply with quote



Hi.

Anyone have experience in developing SNMP applications using TIdSnmp
component ?


For more details:

I am trying obtain information from a public community in router (Cyclades
PR-1000).


Thanks.


Fernando Moreira


Back to top
Brad Prendergast
Guest





PostPosted: Mon Sep 12, 2005 2:30 pm    Post subject: Re: TIdSnmp Reply with quote



This should get you started in the right direction.

IdSNMP1.Community:= 'public';
IdSNMP1.Host:= '127.0.0.1';
IdSNMP1.Active := true;
IdSNMP1.Query.Clear;
IdSNMP1.Query.Port:=161;
idsnmp1.Query.MIBAdd('1.3.6.1.2.1.25.6.3.1.5.111',''); //enter your oid
here
IdSNMP1.Query.PDUType := PDUGetRequest; //PDUGetNextRequest for WALK

if idSNMP1.SendQuery then
for i := 0 to IdSNMP1.Reply.ValueCount - 1 do
memo1.lines.Add(Format('Value: %s',[IdSNMP1.Reply.Value[i]])

IdSNMP1.Active := false;
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Brad Prendergast

"There's a fine line between genius and insanity. I have erased this
line." -- Oscar Levant (1906 - 1972)


"Fernando Moreira" <kernel_pa (AT) yahoo (DOT) com.br> wrote

Quote:
Hi.

Anyone have experience in developing SNMP applications using TIdSnmp
component ?


For more details:

I am trying obtain information from a public community in router (Cyclades
PR-1000).


Thanks.


Fernando Moreira




Back to top
Ciaran Costelloe
Guest





PostPosted: Mon Sep 12, 2005 7:55 pm    Post subject: Re: TIdSnmp Reply with quote



Fernando Moreira wrote:

Quote:
Hi.

Anyone have experience in developing SNMP applications using TIdSnmp
component ?

See http://www.flogas.ie/indy/indysnmpetc.html

Ciaran

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.