zc

Documentation
Login

Documentation

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

NAME

zc-item-add-simple - create a new simple check

SYNOPSIS

zc item add simple [-a application] [-d delay] [-h hostid] [-n name] [-p password] [-r trends] [-s history] [-t type] [-u username] key

DESCRIPTION

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

Item update interval.

-h hostid

Host to add the item to.

-n name

Name to use for the item.

-p password

Authentication password for check.

-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.

-u username

Username to use for authentication.

EXIT STATUS

The zc-item-add-simple 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)

AUTHORS

Andrea Biscuola <a@abiscuola.com>

OpenBSD 6.9 - April 14 2021