SNMPTrapCollector

SNMPTrapCollector - Create

Creates an SNMP Trap Collector.

POST

https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/SNMPTrapCollector

Parameters

Field
Label in UI
Type
Description

authkey

Authorization Key

String

Authentication key. Mandatory only when the value of the snmpver parameter is "v_3". Optional Field

communitystring

Community String

String

Authentication string. Mandatory only when the value of the snmpver parameter is "v_12". Optional Field

device_id

-

String

Existing Device id. Obtain the value of the required device_id using Devices - List API. Optional Field

engineId

Security Engine ID

String

Identifier of the remote SNMP protocol engine. Mandatory only when the value of the snmpver parameter is "v_3". Optional Field

policy_id

-

String

Respective LCP policy ID. Obtain the value of the required policy_id using LogCollectionPolicies - List API. Optional Field

privkey

Private Key

String

Encryption key. Mandatory only when the value of the snmpver parameter is "v_3". Optional Field

processpolicy

Processing Policy

String

Existing Processing Policy id or None (exact). Use the value of the id parameter of the required Processing Policy from ProcessingPolicy - List API. Mandatory Field

snmpver

SNMP Version

String

Value must be "v_3" or "v_12". Mandatory Field

username

Username

String

SNMP username. Mandatory only when the value of the snmpver parameter is "v_3". Optional Field

Request Example

{
    "data": {
        "communitystring": "public",
        "device_id": "57724aacd8aaa40b569bcb1f",
        "processpolicy": "57724aacd8aaa40b569bcb1fasd",
        "snmpver": "v_12"
    }
}

Success Response

SNMPTrapCollector - Edit

Edits the SNMP Trap Collector with given ID.

PUT

Parameters

Field
Label in UI
Type
Description

authkey

Authorization Key

String

Authentication key. Mandatory only when the value of the snmpver parameter is "v_3". Optional Field

communitystring

Community String

String

Authentication string. Mandatory only when the value of the snmpver parameter is "v_12". Optional Field

engineId

Security Engine ID

String

Identifier of the remote SNMP protocol engine. Mandatory only when the value of the snmpver parameter is "v_3". Optional Field

id

-

String

SNMP Trap Collector uuid. To obtain the SNMP trap collector uuid, execute Devices - List API if the collector was configured using device id or execute LogCollectionPolicies - List API if the collector was configured using log collection policy id. Mandatory Field

privkey

Private Key

String

Encryption key. Mandatory only when the value of the snmpver parameter is "v_3". Optional Field

processpolicy

Processing Policy

String

Existing Processing Policy id or None (exact). Use the value of the id parameter of the required Processing Policy from ProcessingPolicy - List API. Mandatory Field

snmpver

SNMP Version

String

Value must be "v_3" or "v_12". Mandatory Field

username

Username

String

SNMP username. Mandatory only when the value of the snmpver parameter is "v_3". Optional Field

Request Example

Success Response

SNMPTrapCollector - Trash

Deletes the SNMP Trap Collector with given ID.

DELETE

Parameters

Field
Label in UI
Type
Description

id

-

String

SNMP Trap Collector uuid. To obtain the SNMP trap collector uuid, execute Devices - List API if the collector was configured using device id or execute LogCollectionPolicies - List API if the collector was configured using log collection policy id. Mandatory Field

Success Response

Last updated

Was this helpful?