Symptom data is returned as an array of nine values, as described in Symptom data codes. When a list of symptoms is returned, it is formatted as an array of array references where each subarray contains the nine fields for a single symptom.

Table 1. Symptom data codes

Symptom data code

Description and type

$x[0]

state (INTEGER)

0 = active

1 = inactive

2 = suspended

3 = not monitored

$x[1]

last occurrence (LONG INTEGER)

$x[2]

instance display name (STRING)

$x[3]

class display name (STRING)

$x[4]

event type (INTEGER)

$x[5]

event certainty level (FLOAT)

$x[6]

event class (STRING)

$x[7]

event instance (STRING)

$x[8]

event name (STRING)