This is a translation of the original English documentation page. Help us make it better.

1 ホストの設定

概要

ZabbixのWebインターフェースでホストの設定を行うには、以下のようにします。

  • 設定 → ホスト または 監視データ → ホスト に遷移します
  • 右側の ホストの作成 (または、既に登録済みのホスト名) をクリックします。
  • ホストのパラメータをフォームに入力します。

また、複製 および すべて複製 ボタンは、既存のホストのフォームで使用できます。 複製 をクリックすると、すべてのホストのパラメータとテンプレートのリンクは保持されます。(これらのテンプレートからすべてのエンティティを保持します) すべて複製 をクリックすると、さらに、直接接続されているエンティティ(アプリケーション、アイテム、トリガー、グラフ、ローレベルディスカバリルール、Web シナリオ)を保持します。

注意: ホストをクローンした場合、テンプレート上のすべてのエンティティはそのまま保持されます。
これらのエンティティに加えられたすべての変更(アイテムの監視間隔の変更、正規表現の変更、ローレベルディスカバリルールへのプロトタイプの追加など)は、新しいホストには複製されず、テンプレート上にそのまま残ります。

構成

ホスト タブには、一般的なホストの属性が表示されます。

すべての必須入力フィールドには赤いアスタリスクが表示されます。

パラメータ 説明
ホスト名 Enter a unique host name. Alphanumerics, spaces, dots, dashes and underscores are allowed. However, leading and trailing spaces are disallowed.
Note: With Zabbix agent running on the host you are configuring, the agent configuration file parameter Hostname must have the same value as the host name entered here. The name in the parameter is needed in the processing of active checks.
表示名 Enter a unique visible name for the host. If you set this name, it will be the one visible in lists, maps, etc instead of the technical host name. This attribute has UTF-8 support.
テンプレート Link templates to the host. All entities (items, triggers, graphs, etc) will be inherited from the template.
To link a new template, start typing the template name in the Link new templates field. A list of matching templates will appear; scroll down to select. Alternatively, you may click on Select next to the field and select templates from the list in a popup window. The templates that are selected in the Link new templates field will be linked to the host when the host configuration form is saved or updated.
To unlink a template, use one of the two options in the Linked templates block:
Unlink - unlink the template, but preserve its items, triggers and graphs
Unlink and clear - unlink the template and remove all its items, triggers and graphs
Listed template names are clickable links leading to the template configuration form.
ホストグループ Select host groups the host belongs to. A host must belong to at least one host group. A new group can be created and linked to the host group by adding a non-existing group name.
インターフェース Several host interface types are supported for a host: Agent, SNMP, JMX and IPMI.
No interfaces are defined by default. To add a new interface, click on Add in the Interfaces block, select the interface type and enter IP/DNS, Connect to and Port info.
Note: Interfaces that are used in any items cannot be removed and link Remove is grayed out for them.
See Configuring SNMP monitoring for additional details on configuring an SNMP interface (v1, v2 and v3).
IPアドレス Host IP address (optional).
DNS名 Host DNS name (optional).
接続方法 Clicking the respective button will tell Zabbix server what to use to retrieve data from agents:
IP - Connect to the host IP address (recommended)
DNS - Connect to the host DNS name
ポート TCP/UDP port number. Default values are: 10050 for Zabbix agent, 161 for SNMP agent, 12345 for JMX and 623 for IPMI.
標準 Check the radio button to set the default interface.
説明 Enter the host description.
プロキシによる監視 The host can be monitored either by Zabbix server or one of Zabbix proxies:
(no proxy) - host is monitored by Zabbix server
Proxy name - host is monitored by Zabbix proxy "Proxy name"
有効 Mark the checkbox to make the host active, ready to be monitored. If unchecked, the host is not active, thus not monitored.

IPMIタブには、IPMIの管理属性が表示されます。

パラメーター 説明
認証アルゴリズム Select the authentication algorithm.
特権レベル Select the privilege level.
ユーザー名 User name for authentication. User macros may be used.
パスワード Password for authentication. User macros may be used.

タグ タブでは、ホストレベルのタグ を定義します。このホストのすべての障害は、ここで入力された値でタグ付けされます。

ユーザーマクロ、{INVENTORY. *}、{HOST.HOST}、{HOST.NAME}、{HOST.CONN}、{HOST.DNS}、{HOST.IP}、{HOST.PORT}、{HOST.ID}などのマクロは、タグでサポートされています。

マクロ タブでは、ホストレベルのユーザーマクロ を名前と値のペアで定義することができます。 マクロの値は、プレーン・テキスト、シークレット・テキスト、または Vault シークレットとして保持することに注意してください。
説明文を追加することもできます。

継承したマクロとホストマクロ オプションを選択すると、テンプレートレベルおよびグローバルなユーザマクロを表示することができます。 ここには、ホスト用に定義されたすべてのユーザー マクロが、それらが解決する値と元の値とともに表示されます。

便宜上、各テンプレートとグローバルマクロの設定へのリンクを設けています。 また、ホストレベルでテンプレート/グローバルマクロを編集し、ホスト上にマクロのコピーを効果的に作成することも可能です。

インベントリ タブでは、ホストのインベントリ情報を手動で入力することができます。また、このホストの自動でのインベントリ作成を有効にするか、インベントリ作成を無効にするかを選択できます。

インベントリが有効な場合(手動または自動)、タブ名とともに緑色の点が表示されます。

暗号化

暗号化 タブでは、ホストとの暗号化された接続を要求するようにできます。

パラメータ 説明
ホストへの接続 How Zabbix server or proxy connects to Zabbix agent on a host: no encryption (default), using PSK (pre-shared key) or certificate.
ホストからの接続 Select what type of connections are allowed from the host (i.e. from Zabbix agent and Zabbix sender). Several connection types can be selected at the same time (useful for testing and switching to other connection type). Default is "No encryption".
発行者 Allowed issuer of certificate. Certificate is first validated with CA (certificate authority). If it is valid, signed by the CA, then the Issuer field can be used to further restrict allowed CA. This field is intended to be used if your Zabbix installation uses certificates from multiple CAs. If this field is empty then any CA is accepted.
サブジェクト Allowed subject of certificate. Certificate is first validated with CA. If it is valid, signed by the CA, then the Subject field can be used to allow only one value of Subject string. If this field is empty then any valid certificate signed by the configured CA is accepted.
PSKアイデンティティ Pre-shared key identity string.
Do not put sensitive information in the PSK identity, it is transmitted unencrypted over the network to inform a receiver which PSK to use.
PSK Pre-shared key (hex-string). Maximum length: 512 hex-digits (256-byte PSK) if Zabbix uses GnuTLS or OpenSSL library, 64 hex-digits (32-byte PSK) if Zabbix uses mbed TLS (PolarSSL) library. Example: 1f87b595725ac58dd977beef14b97461a7c1045b9a1c963065002c5473194952
値のマッピング

値のマッピング タブでは、値のマッピングを使用してアイテムの値を分かりやすい表現で表示できるよう設定できます。

Creating a host group

Only Super Admin users can create host groups.

To create a host group in Zabbix frontend, do the following:

  • Go to: Configuration → Host groups
  • Click on Create host group in the upper right corner of the screen
  • Enter the group name in the form

To create a nested host group, use the '/' forward slash separator, for example Europe/Latvia/Riga/Zabbix servers. You can create this group even if none of the three parent host groups (Europe/Latvia/Riga/) exist. In this case creating these parent host groups is up to the user; they will not be created automatically.
Leading and trailing slashes, several slashes in a row are not allowed. Escaping of '/' is not supported.

Once the group is created, you can click on the group name in the list to edit group name, clone the group or set additional option:

Apply permissions and tag filters to all subgroups - mark this checkbox and click on Update to apply the same level of permissions/tag filters to all nested host groups. For user groups that may have had differing permissions assigned to nested host groups, the permission level of the parent host group will be enforced on the nested groups. This is a one-time option that is not saved in the database.

Permissions to nested host groups

  • When creating a child host group to an existing parent host group, user group permissions to the child are inherited from the parent (for example, when creating Riga/Zabbix servers if Riga already exists)
  • When creating a parent host group to an existing child host group, no permissions to the parent are set (for example, when creating Riga if Riga/Zabbix servers already exists)