zc

Documentation
Login

Documentation

ZC-TRIGGER-ADD(1) - General Commands Manual

NAME

zc-trigger-add - add a trigger to a zabbix server

SYNOPSIS

zc trigger add [-am] [-c correlation tag] [-d trigger dep] [-n description] [-r recovery exp] [-s severity] [-t tag|tag=value] [-u url] expression

DESCRIPTION

zc-trigger-add is the zc(1) sub command that can be used for creating a trigger for a zabbix server. The expression operand must be specified in it's extended form. The id of the created trigger will be printed on standard output.

Options are as follow:

-a

Allow manual problem closing.

-m

Enable multiple problem generation.

-c correlation tag

Trigger correlation tag to match.

-d trigger dep

Specify a trigger id the new trigger will be depending on. Multiple dependencies may be added specifying multiple -d flags.

-n description

Trigger description.

-r recovery exp

Specify a recovery expression. Like the main expression, it must be written in it's extended form.

-s severity

Trigger severity. Levels are:

nc

Trigger not classified.

info

Informational trigger.

warn

Warning trigger.

avg

Average trigger.

high

High problem trigger.

dis

Disaster trigger.

-t *tag tag=value*

Specify a tag to associate with the trigger. Multiple tags may be specified with multiple -t flags.

-u url

URL to assign to the trigger.

EXIT STATUS

The zc-trigger-add utility exits 0 on success, and >0 if an error occurs.

SEE ALSO

zc-trigger(1), zc-trigger-get(1), zc-trigger-rm(1)

Zabbix 4.0 triggers documentation, https://zabbix.com/documentation/4.0/manual/config/triggers.

AUTHORS

Andrea Biscuola <a@abiscuola.com>

OpenBSD 6.9 - September 15, 2019