You are viewing documentation for the development version, it may be incomplete.
Join our translation project and help translate Zabbix documentation into your native language.

> Objecte problema

Els següents objectes són relacionats amb l'API problem.

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 ID 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 ID 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 ID ID of the recovery event.
r_clock timestamp Time when the recovery event was created.
r_ns integer Nanoseconds when the recovery event was created.
cause_eventid ID ID of the cause event.
correlationid ID ID of the correlation rule if this event was recovered by a global correlation rule.
userid ID ID of the user that closed the problem (if the problem was closed manually).
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.

Etiqueta de problema

L'objecte d'etiqueta de problema té les propietats següents:

Propietat Tipus Descripció
tag string Nom de l'etiqueta de problema.
value string Valor de l'etiqueta de problema.

URL dels tipus de suport

L'objecte té les propietats següents.

Propietat Tipus Descripció
name string nom d'URL definit pel tipus de suport.
url string valor d'URL definit pel tipus de suport.

Els resultats contindran entrades només per als tipus de suport actius amb una entrada de menú d'esdeveniments activada. La macro emprada a les propietats s'ampliarà, però si una de les propietats conté una macro no ampliada, ambdues propietats s'exclouran dels resultats. Les macros compatibles són descrites en aquesta pàgina.