zc

Documentation
Login

Documentation

ZC-HOST-INTERFACE-ADD(1) - General Commands Manual

NAME

zc-host-interface-add - add an interface to a host

SYNOPSIS

zc host interface add [-bm] [-A authproto] [-C contextname] [-P privpassphrase] [-V privproto] [-a authpassphrase] [-c community] [-d hostname | -i ip] [-l securitylevel] [-p port] [-s securityname] [-t type] [-v snmpversion] hostid

DESCRIPTION

zc-host-interface-add can be used for adding an interface to a zabbix monitored host, specified as a hostid. The created interface id is printed on standard output.

Options are as follow:

-b

Use bulk requests (only for SNMP interfaces).

-m

Mark the interface as default.

-A authproto

SNMPv3 authentication protocol. Possible values are:

md5

Authenticate using the MD5 algorithm.

sha

Authenticate using the SHA algorithm.

"md5" by default.

-C contextname

SNMPv3 context name.

-P privpassphrase

SNMPv3 privacy passphrase.

-V privproto

SNMPv3 privacy protocol. Possible values are:

des

Use the DES cryptographic algorithm.

aes

Use the AES cryptographic algorithm.

"des" by default.

-a authpassphrase

SNMPv3 authentication passphrase.

-c community

SNMP community. "public" by default.

-d hostname

Hostname to configure on the interface.

-i ip

IP address to configure on the interface.

-l securitylevel

SNMPv3 security level. Possible values are:

nanp

No authentication and no privacy.

anp

Authentication but no privacy.

ap

Authentication and privacy.

"nanp" by default.

-p port

Port to use to connect to the interface.

-s securityname

SNMPv3 security name.

-t type

Type of the interface to be added. Can be one of the following:

agent

Zabbix agent

snmp

Simple Network Management Protocol.

ipmi

Intelligent Platform Management Interface.

jmx

Java Management Extension.

-v snmpversion

SNMP protocol version to use. Possible values are:

1

SNMP version 1.

2c

SNMP version 2c.

3

SNMP version 3.

SNMP version 2c by default.

EXIT STATUS

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

SEE ALSO

zc-host-interface(1)

AUTHORS

Andrea Biscuola <a@abiscuola.com>

OpenBSD 6.9 - December 29, 2020