Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Delphi+SNMP ?

127 views
Skip to first unread message

Carlos Javier Amézquita C.

unread,
Sep 17, 2003, 10:51:28 AM9/17/03
to
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.


guit...@hotmail.com

unread,
Sep 17, 2003, 10:56:21 AM9/17/03
to
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.

Lukas Gebauer

unread,
Sep 18, 2003, 4:31:43 AM9/18/03
to
guit...@hotmail.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.

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.

Ricardo de Oliveira Saldanha

unread,
Jan 8, 2004, 1:21:30 PM1/8/04
to
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;

Ricardo de Oliveira Saldanha

unread,
Jan 8, 2004, 1:24:51 PM1/8/04
to
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.

0 new messages