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 

Delphi+SNMP ?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Carlos Javier Amézquita C
Guest





PostPosted: Wed Sep 17, 2003 2:51 pm    Post subject: Delphi+SNMP ? Reply with quote



Hi all,

Someone knows where can i found components, examples or demos about using
SNMP ?. If the components are free and with source code will be great !!!!

Thank's a lot.

Carlos Amézquita.


Back to top
guitarz1@hotmail.com
Guest





PostPosted: Wed Sep 17, 2003 2:56 pm    Post subject: Re: Delphi+SNMP ? Reply with quote



You can use Indy's SNMP component. However, I don't think the version
of Indy included with Delphi 6 had the SNMP component. You'll need
version 9.x of Indy, which you can download at
http://www.nevrona.com/indy

It comes with source code.

Carlos Javier Amézquita C. wrote:
Quote:

Hi all,

Someone knows where can i found components, examples or demos about using
SNMP ?. If the components are free and with source code will be great !!!!

Thank's a lot.

Carlos Amézquita.

Back to top
Lukas Gebauer
Guest





PostPosted: Thu Sep 18, 2003 8:31 am    Post subject: Re: Delphi+SNMP ? Reply with quote



[email]guitarz1 (AT) hotmail (DOT) com[/email] wrote:

Quote:
You can use Indy's SNMP component. However, I don't think the version
of Indy included with Delphi 6 had the SNMP component. You'll need
version 9.x of Indy, which you can download at
http://www.nevrona.com/indy

It comes with source code.

Funny... Indy's SNMP is only old and buggy adaptatation of my SNMP code!
When you need much better SNMP code, then take look to my Synapse. ;-)

--
Lukas Gebauer.
http://www.ararat.cz/synapse/ - Ararat Synapse - TCP/IP Lib.


Back to top
Ricardo de Oliveira Salda
Guest





PostPosted: Thu Jan 08, 2004 6:21 pm    Post subject: Re: Delphi+SNMP ? Reply with quote

"guitarz1 (AT) hotmail (DOT) com" <guitarz1 (AT) hotmail (DOT) com> wrote:
Quote:
You can use Indy's SNMP component. However, I don't think the version
of Indy included with Delphi 6 had the SNMP component. You'll need
version 9.x of Indy, which you can download at
http://www.nevrona.com/indy

It comes with source code.

Carlos Javier Amézquita C. wrote:

Hi all,

Someone knows where can i found components, examples or demos about using
SNMP ?. If the components are free and with source code will be great !!!!

Thank's a lot.

Carlos Amézquita.
Carlos,

Here is a little code that I´m using to get snmp values. If you have more questions send an e-mail.
Begin
IdSNMP1.Active := TRUE;
WITH IdSNMP1.Query DO
begin
Host := '192.168.200.19';
Community := 'public';
Clear;
PDUType := PDUGetRequest;
MIBAdd('1.3.6.1.2.1.2.2.1.2','');
end;
if IdSNMP1.SendQuery then
MessageDlg(INTTOSTR(IdSNMP1.Reply.ValueCount)+#13+IdSNMP1.Reply.Value[0], mtWarning, [mbOK], 0)
else
MessageDlg('Fail', mtError, [mbOK], 0);
End;

Back to top
Ricardo de Oliveira Salda
Guest





PostPosted: Thu Jan 08, 2004 6:24 pm    Post subject: Re: Delphi+SNMP ? Reply with quote

"Ricardo de Oliveira Saldanha" <rosaldanha (AT) globo (DOT) com> wrote:
Quote:

"guitarz1 (AT) hotmail (DOT) com" <guitarz1 (AT) hotmail (DOT) com> wrote:
You can use Indy's SNMP component. However, I don't think the version
of Indy included with Delphi 6 had the SNMP component. You'll need
version 9.x of Indy, which you can download at
http://www.nevrona.com/indy

It comes with source code.

Carlos Javier Amézquita C. wrote:

Hi all,

Someone knows where can i found components, examples or demos about using
SNMP ?. If the components are free and with source code will be great !!!!

Thank's a lot.

Carlos Amézquita.
Carlos,
Here is a little code that I´m using to get snmp values. If you have more questions send an e-mail.
Begin
IdSNMP1.Active := TRUE;
WITH IdSNMP1.Query DO
begin
Host := '192.168.200.19';
Community := 'public';
Clear;
PDUType := PDUGetRequest;
MIBAdd('1.3.6.1.2.1.2.2.1.2','');
end;
if IdSNMP1.SendQuery then
MessageDlg(INTTOSTR(IdSNMP1.Reply.ValueCount)+#13+IdSNMP1.Reply.Value[0], mtWarning, [mbOK], 0)
else
MessageDlg('Fail', mtError, [mbOK], 0);
End;
Sorry the MIB ADDRESS IS WRONG.

THIS WILL WORK FOR THIS TEST.
MIBAdd('1.3.6.1.2.1.1.1.0','');
NOTICE THAT THE OID DON´T HAVE THE FIRST POINT.


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.