logging trap

Set logging level which sent to snmp trap host

trap Specification

Type Configuration Resource
Element Name trap
Element URI /axapi/v3/logging/trap
Element Attributes trap_attributes
Schema trap schema

Operations Allowed:

Operation Method URI Payload

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