zc

Documentation
Login

Documentation

ZC-ITEM-ADD-ACTIVE(1) - General Commands Manual

NAME

zc-item-add-active - create a new active agent item

SYNOPSIS

zc item add active [-a application] [-d delay] [-h hostid] [-n name] [-r trends] [-s history] [-t type] key

DESCRIPTION

zc-item-add-active is a zc(1) sub-command used to add a new zabbix active agent check. The ID of the new item will be printed on standard output.

Options are as follow:

-a application

Add the new item to application. For linking to more applications, specify more -a flags.

-d delay

Update interval for the item.

-h hostid

Host to add the item to.

-n name

Name to use for the item.

-r trends

Retention period for trends.

-s history

Retention period for history.

-t type

Type of value for the item. Possible choices are:

float

Floating point.

char

Line of text.

log

Log type.

num

Unsigned integer.

text

Multi-line text.

EXIT STATUS

The zc-item-add-active utility exits 0 on success, and >0 if an error occurs.

SEE ALSO

zc-item(1), zc-item-add(1), zc-item-add-passive(1), zc-item-add-simple(1)

AUTHORS

Andrea Biscuola <a@abiscuola.com>

OpenBSD 6.9 - November 27, 2019