Zabbix Documentation 4.4

3.04.05.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.24.4Guidelines

User Tools

Site Tools


manual:api:reference:event: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:event:object [2016/08/29 08:18]
iivs added User ID (ZBXNEXT-3201)
manual:api:reference:event:object [2020/02/24 10:18] (current)
marinagen more precise wording
Line 17: Line 17:
 | clock | timestamp | Time when the event was created. | | clock | timestamp | Time when the event was created. |
 | ns | integer | Nanoseconds when the event was created. | | ns | integer | Nanoseconds when the event was created. |
 +| name | string | Resolved event name. |
 | value | integer | State of the related object. \\ \\ Possible values for trigger events: \\ 0 - OK; \\ 1 - problem. \\ \\ Possible values for discovery events: \\ 0 - host or service up; \\ 1 - host or service down; \\ 2 - host or service discovered; \\ 3 - host or service lost. \\ \\ Possible values for internal events: \\ 0 - "​normal"​ state; \\ 1 - "​unknown"​ or "not supported"​ state. \\ \\ This parameter is not used for active agent auto-registration events. | | value | integer | State of the related object. \\ \\ Possible values for trigger events: \\ 0 - OK; \\ 1 - problem. \\ \\ Possible values for discovery events: \\ 0 - host or service up; \\ 1 - host or service down; \\ 2 - host or service discovered; \\ 3 - host or service lost. \\ \\ Possible values for internal events: \\ 0 - "​normal"​ state; \\ 1 - "​unknown"​ or "not supported"​ state. \\ \\ This parameter is not used for active agent auto-registration events. |
 +| severity| integer | Event current severity. \\ \\ Possible values: \\ 0 - not classified; \\ 1 - information;​ \\ 2 - warning; \\ 3 - average; \\ 4 - high; \\ 5 - disaster. |
 | r_eventid | string | Recovery event ID  | | r_eventid | string | Recovery event ID  |
-| c_eventid | string | Problem event ID who generated OK event | +| c_eventid | string | ID of the event that was used to override (close) current event under global correlation rule. See ''​correlationid''​ to identify exact correlation rule. \\ This parameter is only used when the event is closed by global correlation rule.  ​
-| correlationid | string | Correlation ​ID |+| correlationid | string | ID of the correlation rule that generated closing of the problem.\\ This parameter is only used when the event is closed by global correlation rule.  ​|
 | userid | string | User ID if the event was manually closed. | | userid | string | User ID if the event was manually closed. |
 +| suppressed | integer | Whether the event is suppressed. \\ \\ Possible values: \\ 0 - event is in normal state; \\ 1 - event is suppressed. |
 +| opdata | string | Operational data with expanded macros. |
 +| urls | array of [[manual:​api:​reference:​problem:​object#​Media type URLs|Media type URLs]] | Active media types URLs. |
 +
 +==== Event tag ====
 +
 +The event tag object has the following properties.
 +
 +^ Property ^ Type   ^ Description ​     ^
 +| tag      | string | Event tag name.  |
 +| value    | string | Event tag value. |
 +
 +==== Media type URLs ====
 +
 +Object with media type url have the following properties.
 +
 +^ Property ^ Type ^ Description ^
 +| name     | string | Media type defined URL name.  |
 +| url      | string | Media type defined URL value. |
 +
 +Results will contain entries only for active media types with enabled event menu entry. Macro used in properties will be resolved, but if one of properties contain unresolved macro both properties will be excluded from results. Supported macros described on [[manual:​appendix:​macros:​supported_by_location|page]].