ZC-EVENT-GET(1) - General Commands Manual
NAME
zc-event-get - fetch events from a zabbix server
SYNOPSIS
zc event get [-b timestamp] [-e timestamp] [-o object] [-s source]
DESCRIPTION
The zc-event-get command, can be used for retrieving a list of events from a zabbix server. By default, the zc-event-get command will output a list of events in the form of: event id, clock, source, object, value and event name. The fields are separated by a tabulation character.
Options are as follow:
-b timestamp
Show events created after timestamp.
-e timestamp
Show events created before timestamp.
-o object
Filter event only by a specified object type. Possible values are:
trigger
Trigger based events.
dhost
Discovered host.
dservice
Discovered service.
autoreg
auto-registered host.
item
item internal event.
lld
Low level discovery event.
-s source
Filter events only by a specified source type. Possible values are:
trigger
Trigger based events.
discovery
Low level discovery events
autoreg
Auto registration events.
internal
Zabbix internal events.
Timestamp for the -b and -e flags, are in the format:
YYYY-MM-DDTHH:MM:SS
as specified in the ISO 8601 standard.
EXIT STATUS
The zc-event-get utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
zc-event(1), zc-problem(1), zc-problem-ack(1), zc-problem-annotate(1), zc-problem-close(1), zc-problem-escalate(1)
AUTHORS
Andrea Biscuola <a@abiscuola.com>
OpenBSD 6.9 - September 15, 2019