zc

Documentation
Login

Documentation

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

NAME

zc-item-add-trapper - create a new trapper item

SYNOPSIS

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

DESCRIPTION

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

-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-trapper 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-passive(1), zc-item-add-simple(1)

AUTHORS

Andrea Biscuola <a@abiscuola.com>

OpenBSD 6.9 - November 27, 2019