problems are created by the Zabbix server and cannot be modified via the API.
The problem object has the following properties.
|eventid||string||ID of the problem event.|
|source||integer||Type of the problem event.
0 - event created by a trigger;
3 - internal event;
4 - event created on service status update.
|object||integer||Type of object that is related to the problem event.
Possible values for trigger events:
0 - trigger.
Possible values for internal events:
0 - trigger;
4 - item;
5 - LLD rule.
Possible values for service events:
6 - service.
|objectid||string||ID of the related object.|
|clock||timestamp||Time when the problem event was created.|
|ns||integer||Nanoseconds when the problem event was created.|
|r_eventid||string||Recovery event ID.|
|r_clock||timestamp||Time when the recovery event was created.|
|r_ns||integer||Nanoseconds when the recovery event was created.|
|correlationid||string||Correlation rule ID if this event was recovered by global correlation rule.|
|userid||string||User ID if the problem was manually closed.|
|name||string||Resolved problem name.|
|acknowledged||integer||Acknowledge state for problem.
0 - not acknowledged;
1 - acknowledged.
|severity||integer||Problem current severity.
0 - not classified;
1 - information;
2 - warning;
3 - average;
4 - high;
5 - disaster.
|suppressed||integer||Whether the problem is suppressed.
0 - problem is in normal state;
1 - problem is suppressed.
|opdata||string||Operational data with expanded macros.|
|urls||array of Media type URLs||Active media types URLs.|
The problem tag object has the following properties.
|tag||string||Problem tag name.|
|value||string||Problem tag value.|
Object with media type url have the following properties.
|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 expanded, but if one of properties contain non expanded macro both properties will be excluded from results. Supported macros described on page.