logging trap

Set logging level which sent to snmp trap host

trap Specification

Parameter Value
Type Configuration Resource
Element Name trap
Element URI /axapi/v3/logging/trap
Element Attributes trap_attributes
Partition Visibility shared
Schema trap schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/logging/trap

trap attributes

Get Object

GET

/axapi/v3/logging/trap

trap attributes

Modify Object

POST

/axapi/v3/logging/trap

trap attributes

Replace Object

PUT

/axapi/v3/logging/trap

trap attributes

Delete Object

DELETE

/axapi/v3/logging/trap

trap attributes

trap attributes

trap-levelname

Description ‘disable’: Do not send trap to snmp host; ‘emergency’: System unusable log messages (severity=0); ‘alert’: Action must be taken immediately (severity=1); ‘critical’: Critical conditions (severity=2);

Type: string

Supported Values: disable, emergency, alert, critical

Default: disable

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters