.. _logging_trap: 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** :download:`trap schema ` ===================================== ===================================================== **Operations Allowed:** .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/logging/trap .. raw:: html :ref:`2267_trap_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/logging/trap .. raw:: html :ref:`2267_trap_attributes` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/logging/trap .. raw:: html :ref:`2267_trap_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/logging/trap .. raw:: html :ref:`2267_trap_attributes` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/logging/trap .. raw:: html :ref:`2267_trap_attributes` .. raw:: html
.. _2267_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