EMS Manual

Distributor Commands and Responses
EMS Manual426909-005
17-38
STATUS Command (ZCOM-CMD-STATUS)
ZEMS-MAP-STATUS-SOURCE
is an extensible structured token that gives information about each source collector
(DEF: ZEMS-DDL-STATUS-SOURCE). The fields of ZEMS-MAP-STATUS-
SOURCE are defined as:
ZDIST-COLL-NAME (procname field)
is the name of the collector process if the distributor is in collector mode.
Otherwise, the field is blank.
ZDIST-COLL-LOGNAME (discname field)
is the name of a collector log file. The collector currently logs event messages
to this file.
ZDIST-CUR-STATE (enum field)
is the current state of the collector. Collector state can have the following
values:
ZEMS-VAL-NO-COLL 0 No collector
ZEMS-VAL-COLL-IDLE 1 Collector idle
ZEMS-VAL-COLL-GETEVENT 2 Getting an event
message
ZEMS-VAL-COLL-CONNECT 3 Performing status
request
ZEMS-VAL-COLL-POSITION 4 Positioning
ZEMS-VAL-COLL-LOGNAMELIST 5 Making a logname list
ZEMS-VAL-COLL-EOFDELAY 6 Delaying after EOF
ZDIST-CUR-IO-PENDING (enum field)
is the collector I/O operation that is currently pending. This token can have
these values:
ZEMS-VAL-NO-IO 0 None
ZEMS-VAL-READLOG 1 Reading the collector log
ZEMS-VAL-COLL-STATUS 2 Normal status on collector
ZEMS-VAL-COLL-EVENTWAIT 3 Waiting for collector to
indicate it has a message
ZDIST-CUR-LOGNAME (discname field)
is the name of the log file containing the event message last examined by the
distributor.