ZC-TEMPLATE-ADD(1) - General Commands Manual
NAME
zc-template-add - create a new template
SYNOPSIS
zc template add [-g hostgroupid] [-h hostid] [-m macro=value] [-t templateid] name
DESCRIPTION
zc-template-add is the zc(1) command that can be used for creating new templates in zabbix.
Options are as follow:
-g hostgroupid
Add the template to the specified hostgroupid. Adding the template to more hostgroups can be achieved by specifying more -g flags.
-h hostid
Link the specified host to the new template. For linking more hosts, specify more -h flags.
-m macro=value
Add macro to the template with it's specified value. For adding more macros, specify more -m flags.
-t templateid
Link the template identified by templateid to the new template. For adding more templates, specify additional -t flags.
EXIT STATUS
The zc-template-add utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
zc-template(1)
AUTHORS
Andrea Biscuola <a@abiscuola.com>
OpenBSD 6.9 - November 27, 2019