SNMP Trap Mappings

Update SNMP trap mapping

Update an existing SNMP trap mapping. Requires CONFIGURE_TRAPS system access right. Only fields present in the request are changed; if parameters is present, it replaces all parameter mappings. Trap mapping ID and GUID cannot be changed.

put/v1/snmp-trap-mappings/{trap-id}

Request body

oidstring

Trap OID in dotted notation.

eventCodeinteger

Code of the event generated for matching trap (must refer to existing event template).

eventTagstring nullable

Tag added to generated event.

descriptionstring

Trap mapping description.

transformationScriptstring

NXSL transformation script source.

Response

SNMP trap mapping updated successfully.

idinteger

SNMP trap mapping ID.

guidstring uuid

SNMP trap mapping GUID.

oidstring

Trap OID. Traps are matched by exact OID or by longest matching OID prefix.

eventCodeinteger

Code of the event generated for matching trap.

eventTagstring nullable

Tag added to generated event.

descriptionstring

Trap mapping description.

transformationScriptstring

NXSL transformation script source.

Changes

Changed in 1 of the 128 revisions of this API.1