zc

Documentation
Login

Documentation

ZC(1) - General Commands Manual

NAME

zc - zabbix API command line interface

SYNOPSIS

zc [-c context] command [argument]

DESCRIPTION

zc is a simple tool designed for interacting with the zabbix APIs.

Options are as follow:

-c context

use the specified authentication context.

If no context name is specified through the -c flag, or exported with the ZC_CTX environment variable, the "default" context is used.

Possible subcommands are:

application

Manage configured host and template applications.

auth

Open a session with a zabbix server.

close

Logout from the current session.

config

Handle export and import of configuration.

event

Manage zabbix events.

history

Fetch values from zabbix value history.

host

Manage monitored hosts.

hostgroup

Manage zabbix hostgroups.

item

Manage zabbix items.

problem

Manage zabbix problem events.

proxy

Manage zabbix proxies.

template

Manage zabbix templates.

trigger

Manage zabbix triggers.

ENVIRONMENT

ZC_CTX

Context environment variable.

EXIT STATUS

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

SEE ALSO

zc-application(1), zc-auth(1), zc-close(1), zc-config(1), zc-event(1), zc-history(1), zc-host(1), zc-hostgroup(1), zc-item(1), zc-problem(1), zc-proxy(1), zc-template(1), zc-trigger(1)

AUTHORS

Andrea Biscuola <a@abiscuola.com>

OpenBSD 6.9 - December 12, 2019