Los siguientes objetos están directamente relacionados con la API problem
.
Problems are created by the Zabbix server and cannot be modified via the API.
The problem object has the following properties.
Property | Type | Description |
---|---|---|
eventid | string | ID of the problem event. |
source | integer | Type of the problem event. Possible values: 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 if source is set to "event created by a trigger":0 - trigger. Possible values if source is set to "internal event":0 - trigger; 4 - item; 5 - LLD rule. Possible values if source is set to "event created on service status update":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. |
cause_eventid | string | Cause event ID. |
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. Possible values: 0 - not acknowledged; 1 - acknowledged. |
severity | integer | Problem current severity. Possible values: 0 - not classified; 1 - information; 2 - warning; 3 - average; 4 - high; 5 - disaster. |
suppressed | integer | Whether the problem is suppressed. Possible values: 0 - problem is in normal state; 1 - problem is suppressed. |
opdata | string | Operational data with expanded macros. |
urls | array | Active media type URLs. |
El objeto de etiqueta de problema tiene las siguientes propiedades.
Propiedad | Tipo | Descripción |
---|---|---|
tag | cadena | Nombre de etiqueta del problema. |
value | cadena | Valor de etiqueta de problema. |
El objeto URL de tipo de medio tiene las siguientes propiedades.
Propiedad | Tipo | Descripción |
---|---|---|
name | cadena | Nombre de URL definido por el tipo de medio. |
url | cadena | Valor de URL definido por el tipo de medio. |
Los resultados contendrán entradas solo para los tipos de medios activos con la entrada del menú de eventos habilitada. La macro utilizada en las propiedades se expandirá, pero si una de las propiedades contiene una macro no expandida, ambas propiedades se excluirán de los resultados. Para conocer las macros compatibles, consulte Macros compatibles.