zc

Documentation
Login

Documentation

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

NAME

zc-template-get - get details for templates

SYNOPSIS

zc template get [-g hostgroupid] [search]

DESCRIPTION

The zc-template-get sub-command, retrieve a list of templates from a zabbix server. The search operand may be specified as a filter on templates for fetching only the ones whose name matches it.

Options are as follow:

-g hostgroupid

Retrieve only templates part of hostgroupid

zc-template-get output is composed by Template ID and Template name where fields are separated by a tabulation character.

EXIT STATUS

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

SEE ALSO

zc-template(1), zc-template-add(1), zc-template-rm(1)

AUTHORS

Andrea Biscuola <a@abiscuola.com>

OpenBSD 6.9 - September 15, 2019