zc

Documentation
Login

Documentation

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

NAME

zc-hostgroup-get - get list of zabbix hostgroups

SYNOPSIS

zc hostgroup get [search]

DESCRIPTION

zc-hostgroup-get retrieve, from the zabbix server, a list of hostgroups. If the search argument is specified, only the hostgroups matching the search filter will be printed, otherwise, all the configured hostgroups will be returned.

zc-hostgroup-get output is composed by Hostgroup ID, and Hostgroup name where fields are separated by a tabulation character.

EXIT STATUS

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

SEE ALSO

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

AUTHORS

Andrea Biscuola <a@abiscuola.com>

OpenBSD 6.9 - September 15, 2019