zc

Documentation
Login

Documentation

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

NAME

zc-host-get - get details for hosts and templates

SYNOPSIS

zc host get [-g hostgroupid] [search]

DESCRIPTION

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

Options are as follow:

-g hostgroupid

Retrieve only hosts part of hostgroupid

zc-host-get output is composed by Host ID, Status, Availability and Host name, where fields are separated by a tabulation character.

EXIT STATUS

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

SEE ALSO

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

AUTHORS

Andrea Biscuola <a@abiscuola.com>

OpenBSD 6.9 - September 15, 2019