manual:api:reference:trigger:object

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:api:reference:trigger:object [2018/11/06 08:02]
Andrejs.Griscenko [ZBXNEXT-4731] Added new section "Trigger tag"
manual:api:reference:trigger:object [2021/04/01 10:26] (current)
vmaksimovs [ZBXNEXT-6141] fixed event name description
Line 7: Line 7:
 The trigger object has the following properties. The trigger object has the following properties.
  
-^  Property ​ ^  Type  ^  Description ​ ^+^  Property ​ ^  ​[[:​manual/​api/​reference_commentary#​data_types|Type]]  ​^ ​ Description ​ ^
 | triggerid ​ | string ​ | //​(readonly)//​ ID of the trigger. ​ | | triggerid ​ | string ​ | //​(readonly)//​ ID of the trigger. ​ |
 | **description** \\ (required) | string | Name of the trigger. | | **description** \\ (required) | string | Name of the trigger. |
 | **expression** \\ (required) | string | Reduced trigger expression. | | **expression** \\ (required) | string | Reduced trigger expression. |
 +| event_name | string | Event name generated by the trigger. |
 +| opdata ​  | string | Operational data. |
 | comments | string | Additional description of the trigger. | | comments | string | Additional description of the trigger. |
 | error | string | //​(readonly)//​ Error text if there have been any problems when updating the state of the trigger. | | error | string | //​(readonly)//​ Error text if there have been any problems when updating the state of the trigger. |
Line 32: Line 34:
 The trigger tag object has the following properties. The trigger tag object has the following properties.
  
-^  Property ​            ^ Type    ^ Description ​       ^+^  Property ​            ​^ ​[[:​manual/​api/​reference_commentary#​data_types|Type]]    ^ Description ​       ^
 | **tag** \\ (required) | string ​ | Trigger tag name.  | | **tag** \\ (required) | string ​ | Trigger tag name.  |
 | value                 | string ​ | Trigger tag value. | | value                 | string ​ | Trigger tag value. |