zc

Documentation
Login

Documentation

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

NAME

zc-trigger-get - fetch list of triggers from a zabbix server

SYNOPSIS

zc trigger get [-h host] [-t tag] [search]

DESCRIPTION

zc-trigger-get retrive a list of triggers from a zabbix server. Specifying the search operand, will fetch only triggers whose descriptions match the pattern.

Options are as follow:

-h host

Fetch only triggers part of host. A template name can also be specified.

-t tag

Retrieve only triggers that are tagged with tag. Multiple tags may be specified using multiple -t -flags.

The zc-trigger-get output is composed by Trigger ID, Trigger expression and Trigger description. Description and expression will be returned in their extensive form, with all the macros expanded.

EXIT STATUS

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

SEE ALSO

zc-trigger(1)

AUTHORS

Andrea Biscuola <a@abiscuola.com>

OpenBSD 6.9 - September 15, 2019