> Proxy object

The following objects are directly related to the proxy API.

Proxy

The proxy object has the following properties.

PropertyTypeDescription
proxyidstring(readonly) ID of the proxy.
host
(required)
stringName of the proxy.
status
(required)
integerType of proxy.

Possible values:
5 - active proxy;
6 - passive proxy.
descriptiontextDescription of the proxy.
lastaccesstimestamp(readonly) Time when the proxy last connected to the server.
tls_connectintegerConnections to host.

Possible values are:
1 - (default) No encryption;
2 - PSK;
4 - certificate.
tls_acceptintegerConnections from host.

Possible bitmap values are:
1 - (default) No encryption;
2 - PSK;
4 - certificate.
tls_issuerstringCertificate issuer.
tls_subjectstringCertificate subject.
tls_psk_identitystringPSK identity. Required if either tls_connect or tls_accept has PSK enabled.
Do not put sensitive information in the PSK identity, it is transmitted unencrypted over the network to inform a receiver which PSK to use.
tls_pskstringThe preshared key, at least 32 hex digits. Required if either tls_connect or tls_accept has PSK enabled.
proxy_addressstringComma-delimited IP addresses or DNS names of active Zabbix proxy.
auto_compressinteger(readonly) Indicates if communication between Zabbix server and proxy is compressed.

Possible values are:
0 - No compression;
1 - Compression enabled;

Proxy interface

The proxy interface object defines the interface used to connect to a passive proxy. It has the following properties.

PropertyTypeDescription
interfaceidstring(readonly) ID of the interface.
dns
(required)
stringDNS name to connect to.

Can be empty if connections are made via IP address.
ip
(required)
stringIP address to connect to.

Can be empty if connections are made via DNS names.
port
(required)
stringPort number to connect to.
useip
(required)
integerWhether the connection should be made via IP address.

Possible values are:
0 - connect using DNS name;
1 - connect using IP address.
hostidstring(readonly) ID of the proxy the interface belongs to.