4 Hosts


In the Data collection → Hosts section users can configure and maintain hosts.

A listing of existing hosts with their details is displayed.

Displayed data:

Column Description
Name Name of the host.
Clicking on the host name opens the host configuration form.
Entities (Items, Triggers, Graphs, Discovery, Web) Clicking on the entity name will display items, triggers, etc., of the host.
The number of the respective entities is displayed in gray.
Interface The main interface of the host is displayed.
Proxy Assigned proxies are displayed in this column:
<Proxy name> - host is monitored by standalone proxy (even if the proxy is part of proxy group);
<Proxy group name: proxy name> - host is monitored by proxy group, and Zabbix server has assigned a proxy to monitor the host;
<Proxy group name> - host is monitored by proxy group without any proxies, or if Zabbix server has not assigned a proxy to monitor the host;
Nothing - host is not monitored by either proxy or proxy group.
This column is only displayed if the Monitored by filter option is set to 'Any', 'Proxy', or 'Proxy group'.
Templates The templates linked to the host are displayed.
If other templates are contained in the linked template, those are displayed in parentheses, separated by a comma.
Clicking on a template name will open its configuration form.
Status Host status is displayed - Enabled or Disabled.
By clicking on the status you can change it manually.
An orange wrench icon before the host status indicates that this host is in maintenance. Maintenance details are displayed when the mouse pointer is positioned on the icon.
Discovered hosts that have been lost are marked with an info icon. The tooltip text provides details on their status.
Availability Host availability per configured interface is displayed.

Availability icons represent only those interface types (Zabbix agent, SNMP, IPMI, JMX) that are configured. If you position the mouse pointer on the icon, a pop-up list appears listing all interfaces of this type with details, status and errors (for the agent interface, availability of active checks is also listed).
The column is empty for hosts with no interfaces.
The current status of all interfaces of one type is displayed by the respective icon color:
Green - all interfaces available;
Yellow - at least one interface is unavailable and at least one is either available or unknown; others can have any status, including 'unknown';
Red - no interfaces available;
Gray - at least one interface unknown (none unavailable).

Active check availability. Since Zabbix 6.2 active checks also affect host availability if there is at least one active check enabled on the host. To determine active check availability, heartbeat messages are sent in the agent active check thread. The frequency of the heartbeat messages is set by the HeartbeatFrequency parameter in Zabbix agent and agent 2 configurations (60 seconds by default, 0-3600 range). Active checks are considered unavailable when the active check heartbeat is older than 2 x HeartbeatFrequency seconds.
Note: If Zabbix agents older than 6.2.x are used, they are not sending any active check heartbeats, so the availability of their hosts will remain unknown.
Active agent availability is counted towards the total Zabbix agent availability in the same way as a passive interface is. For example, if a passive interface is available while the active checks are unknown, the total agent availability is set to gray (unknown).
Agent encryption Encryption status for connections to the host is displayed:
None - no encryption;
PSK - using pre-shared key;
Cert - using certificate.
Info Error information (if any) regarding the host is displayed.
Tags Tags of the host with macros unresolved.

To configure a new host, click on the Create host button in the top right-hand corner. To import a host from a YAML, XML, or JSON file, click on the Import button in the top right-hand corner.

Mass editing options

Buttons below the list offer some mass editing options:

  • Enable - change host status to Monitored;
  • Disable - change host status to Not monitored;
  • Export - export the hosts to a YAML, XML or JSON file;
  • Mass update - update several properties for a number of hosts at once;
  • Delete - delete the hosts.

To use these options, mark the checkboxes before the respective hosts, then click on the required button.

Using filter

You can use the filter to display only the hosts you are interested in. For better search performance, data is searched with macros unresolved.

The Filter icon is available at the top right corner. Clicking on it will open a filter where you can specify the desired filtering criteria.

Parameter Description
Host groups Filter by one or more host groups.
Specifying a parent host group implicitly selects all nested host groups.
Templates Filter by linked templates.
Name Filter by visible host name.
DNS Filter by DNS name.
IP Filter by IP address.
Port Filter by port number.
Status Filter by host status.
Monitored by Filter hosts that are monitored by Zabbix server, proxy, or proxy group.
Proxies Filter hosts that are monitored by the proxies specified here. This field is only available if "Proxy" is selected in the Monitored by field.
Proxy groups Filter hosts that are monitored by the proxy groups specified here. This field is only available if "Proxy group" is selected in the Monitored by field.
Tags Filter by host tag name and value.
It is possible to include as well as exclude specific tags and tag values. Several conditions can be set. Tag name matching is always case-sensitive.

There are several operators available for each condition:
Exists - include the specified tag names;
Equals - include the specified tag names and values (case-sensitive);
Contains - include the specified tag names where the tag values contain the entered string (substring match, case-insensitive);
Does not exist - exclude the specified tag names;
Does not equal - exclude the specified tag names and values (case-sensitive);
Does not contain - exclude the specified tag names where the tag values contain the entered string (substring match, case-insensitive).

There are two calculation types for conditions:
And/Or - all conditions must be met, conditions having the same tag name will be grouped by the Or condition;
Or - enough if one condition is met.

Reading host availability

Host availability icons reflect the current host interface status on Zabbix server. Therefore, in the frontend:

  • If you disable a host, availability icons will not immediately turn gray (unknown status), because the server has to synchronize the configuration changes first.
  • If you enable a host, availability icons will not immediately turn green (available), because the server has to synchronize the configuration changes and start polling the host first.

Unknown interface status

Zabbix server determines an 'unknown' status for the corresponding agent interface (Zabbix, SNMP, IPMI, JMX) in the following cases:

  • There are no enabled items on the interface (they were removed or disabled).
  • There are only active Zabbix agent items.
  • There are no pollers for that type of the interface (e.g. StartAgentPollers=0).
  • Host is disabled.
  • Host is set to be monitored by proxy, a different proxy or by server if it was monitored by proxy.
  • Host is monitored by a proxy that appears to be offline (no updates received from the proxy during the maximum heartbeat interval - 1 hour).

Setting interface availability to 'unknown' is done after server configuration cache synchronization. Restoring interface availability (available/unavailable) on hosts monitored by proxies is done after proxy configuration cache synchronization.

For more details about host interface unreachability, see Unreachable/unavailable host interface settings.