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 | ||
Get Object | GET | /axapi/v3/logging/trap | ||
Modify Object | POST | /axapi/v3/logging/trap | ||
Replace Object | PUT | /axapi/v3/logging/trap | ||
Delete Object | DELETE | /axapi/v3/logging/trap |
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