Zabbix Documentation 2.4

3.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.22.43.23.4

User Tools

Site Tools


Sidebar

manual:api:reference:proxy:object

> Proxy object

The following objects are directly related to the proxy API.

Proxy

The proxy object has the following properties.

Property Type Description
proxyid string (readonly) ID of the proxy.
host
(required)
string Name of the proxy.
status
(required)
integer Type of proxy.

Possible values:
5 - active proxy;
6 - passive proxy.
description text Description of the proxy.
lastaccess timestamp (readonly) Time when the proxy last connected to the server.

Proxy interface

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

Property Type Description
interfaceid string (readonly) ID of the interface.
dns
(required)
string DNS name to connect to.

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

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

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