QQ:13210802
EMAIL:[email protected]

解决方案 »

  1.   

    从网上搜到的:SNMP.Host := <Remote IP>;
    SNMP.Community := <Community>;
    SNMP.Query.Clear;
    SNMP.Query.PDUType := <PDUSetReqest or PDUGetRequest or PDUGetNextRequest,
    etc.>;    //set the access type
    SNMP.Query.MIBAdd(<OID>, <Value>, <Value Type>);
    SNMP.Query.MIBAdd(...);    //put your query OIDs or/and values here
    ...
    if SNMP.SendQuery then    //if send successfully, you will get True from
    SendQuery
    begin
        SNMP.Reply.ValueOID[...];    //retrieve your value
        SNMP.Reply.Value[...];
    end;