user3547601
user3547601

Reputation: 11

Indy C++ builder, SNMP get?

I've just started learning to write application use Indy to send SNMP get query but don't know how to? I don't ask for code but suggestions so I can write my own. Thanks!

Upvotes: 1

Views: 389

Answers (1)

Remy Lebeau
Remy Lebeau

Reputation: 597550

Indy has a TIsSNMP component. Set TIdSNMP.Community and such as needed, then call TIdSNMP.Query.MIBAdd() to specify the OID(s) you are interested in, then call TIdSNMP.SendQuery(), then use TIdSNMP.Reply.MIBGet() to retrieve the OID value(s) as needed. Or use TIdSNMP.QuickSend() if there is only 1 OID you are interested in.

Upvotes: 1

Related Questions