zc

Documentation
Login

Documentation

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

NAME

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

SYNOPSIS

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

DESCRIPTION

zc-item-add-passive is a zc(1) sub-command used to add a new zabbix passive 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.

-i interfaceid

Host's interaface to use for the item check.

-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-passive utility exits 0 on success, and >0 if an error occurs.

SEE ALSO

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

AUTHORS

Andrea Biscuola <a@abiscuola.com>

OpenBSD 6.9 - November 27, 2019