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
値のマッピング

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

ホストグループの作成

特権管理者だけが、ホストグループを作成可能です。

ZabbixのWebインターフェースでホストグループを作成する場合は、以下の手順で行います:

  • 設定 → ホストグループ へ遷移します
  • 画面右上隅の ホストグループの作成 をクリックします。
  • ホストグループのパラメータをフォームに入力する

必須入力項目には、赤いアスタリスクが表示されています。

パラメーター 説明
グループ名 固有のホストグループ名を入力します。

階層的なホストグループを作成するには、Europe/Latvia/Riga/Zabbix servers のようにスラッシュ区切り記号「/」を使用します。
3つの親ホストグループ(Europe/Latvia/Riga)が存在しない場合でも、このグループを作成することができます。
この場合、これらの親ホストグループの作成はユーザが行うことができ、自動的に作成されることはありません。
スラッシュの先頭と末尾、および複数のスラッシュの連続は許可されません。また、'/' のエスケープにも対応していません。
Zabbix 3.2.0からホストグループの階層表現に対応しました。| |すべてのサブグループに権限とタグフィルターを適用|このチェックボックスは、特権管理者のみが利用でき、既存のホストグループを編集するときのみ利用できます。
このチェックボックスをマークして更新をクリックすると、同じレベルの権限/タグフィルターがすべての階層化されたホストグループに適用されます。階層化されたホストグループに異なる 権限 が割り当てられたユーザーグループについては、親ホストグループのアクセス権レベルが階層化されたグループに対して適用されます。
これは1回限りのオプションで、データベースには保存されません。
このオプションはZabbix 3.4.0からサポートされています。|

階層化されたホストグループへの権限

  • 既存の親ホストグループに対して子ホストグループを作成する場合
    ユーザーグループのパーミッションは親から継承されます
    (例 : Riga が既に存在する場合、Riga/Zabbix servers を作成する場合)

  • 既存の子ホストグループに対して親ホストグループを作成する場合
    親に対するパーミッションは設定されません
    (例 : Riga/Zabbix servers が既に存在する場合に Riga を作成する場合など)