Problem
acknowledge_event
Acknowledge events by ID.
Arguments
EVENT_IDS
Comma-separated list of event ID(s)
Type: text
Required: ✅
Options
--message
, -m
<MESSAGE>
Message to add to the event
Type: text
Default: [Zabbix-CLI] Acknowledged via acknowledge_events
--close
, -c
Close the event after acknowledging it
Type: boolean
Default: False
acknowledge_trigger_last_event
Acknowledge the the last event for the given triggers.
Examples
Acknowledge the last event for trigger 12345
Acknowledge the last event for trigger 12345 with a message and close it
Acknowledge multiple triggers
Arguments
TRIGGER_IDS
Type: text
Required: ✅
Options
--message
<MESSAGE>
Acknowledgement message
Type: text
--close
, -c
Close event
Type: boolean
Default: False
show_alarms
Show the latest events for the given triggers, hosts, and/or host groups.
At least one trigger ID, host or host group must be specified.
Options
--description
<DESCRIPTION>
Description of alarm(s) to show.
Type: text
--priority
<PRIORITY>
Priority of alarm(s) to show.
Type: choice
Choices: unclassified
, information
, warning
, average
, high
, disaster
, 0
, 1
, 2
, 3
, 4
, 5
--hostgroup
<HOSTGROUPS>
Host group(s) to show alarms for. Comma-separated.
Type: text
--unack
/--ack
Show only alarms whose last event is unacknowledged.
Type: boolean
Default: True
show_trigger_events
Show the latest events for the given triggers, hosts, and/or host groups.
At least one trigger ID, host or host group must be specified.
Examples
Show recent events for host foo.example.com
Show recent events for hosts in host group 'Linux servers'
Show 20 most recent events for triggers 12345 & 12346
Options
--trigger-id
<TRIGGER_ID>
ID of trigger(s) to show events for.
Type: text
--hostgroup
<HOSTGROUPS>
Host group(s) to show events for.
Type: text
--host
<HOSTS>
Host(s) to show events for.
Type: text
--limit
, -l
<LIMIT>
Maximum number of events to show.
Type: integer
Default: 10