Zabbix Documentation 5.0

3.04.04.45.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


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 [2016/06/21 14:30]
iivs added recovery mode and recovery expression (ZBXNEXT-2118)
manual:api:reference:trigger:object [2019/10/07 06:35] (current)
Line 11: Line 11:
 | **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. |
-| comments | string | Additional ​comments to the trigger. |+| opdata ​  | string | Operational data. | 
 +| 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. |
 | flags | integer | //​(readonly)//​ Origin of the trigger. \\ \\ Possible values are: \\ 0 - //​(default)//​ a plain trigger; \\ 4 - a discovered trigger. | | flags | integer | //​(readonly)//​ Origin of the trigger. \\ \\ Possible values are: \\ 0 - //​(default)//​ a plain trigger; \\ 4 - a discovered trigger. |
Line 24: Line 25:
 | recovery_mode | integer | OK event generation mode. \\ \\ Possible values are: \\ 0 - //​(default)//​ Expression; \\ 1 - Recovery expression; \\ 2 - None.| | recovery_mode | integer | OK event generation mode. \\ \\ Possible values are: \\ 0 - //​(default)//​ Expression; \\ 1 - Recovery expression; \\ 2 - None.|
 | recovery_expression | string | Reduced trigger recovery expression. | | recovery_expression | string | Reduced trigger recovery expression. |
 +| correlation_mode | integer | OK event closes. \\ \\ Possible values are: \\ 0 - //​(default)//​ All problems; \\ 1 - All problems if tag values match.|
 +| correlation_tag | string | Tag for matching. |
 +| manual_close | integer | Allow manual close. \\ \\ Possible values are: \\ 0 - //​(default)//​ No; \\ 1 - Yes.|
 +
 +==== Trigger tag ====
 +
 +The trigger tag object has the following properties.
 +
 +^  Property ​            ^ Type    ^ Description ​       ^
 +| **tag** \\ (required) | string ​ | Trigger tag name.  |
 +| value                 | string ​ | Trigger tag value. |