地理マップウィジェットは、オープンソースのJavaScriptインタラクティブマップライブラリLeafletを使用して、ホストを地理マップ上のマーカーとして表示します。
Zabbixは複数の事前定義されたマップタイルサービスプロバイダーとカスタムタイルサービスプロバイダーまたはホストタイル自体を追加するオプションを提供します(管理 → 一般設定 → 地理マップ メニューセクションで設定可能)
デフォルトでは、ウィジェットはホスト設定で定義された有効な地理座標を持つすべての有効なホストを表示します。 ウィジェットパラメータでホストフィルタリングを設定することができます。
有効なホスト座標は次のとおりです。
ウィジェットを追加するにはタイプとして地理マップを選択します。
In addition to the parameters that are common for all widgets, you may set the following specific options:
Host groups | Select host groups to be displayed on the map. This field is auto-complete so starting to type the name of a group will offer a dropdown of matching groups. Scroll down to select. Click on 'x' to remove selected groups. If nothing is selected in both Host groups and Hosts fields, all hosts with valid coordinates will be displayed. |
Hosts | Select hosts to be displayed all the map. This field is auto-complete so starting to type the name of a host will offer a dropdown of matching hosts. Scroll down to select. Click on 'x' to remove selected hosts. If nothing is selected in both Host groups and Hosts fields, all hosts with valid coordinates will be displayed. |
Tags | Specify tags to limit the number of hosts displayed in the widget. 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 |
Initial view | Comma-separated center coordinates and an optional zoom level to display when the widget is initially loaded in the format <latitude>,<longitude>,<zoom> If initial zoom is specified, the Geomap widget is loaded at the given zoom level. Otherwise, initial zoom is calculated as half of the max zoom for the particular tile provider. The initial view is ignored if the default view is set (see below). Examples: => 40.6892494,-74.0466891,14 => 40.6892494,-122.0466891 |
Host markers displayed on the map have the color of the host's most serious problem and green color if a host has no problems. Clicking on a host marker allows viewing the host's visible name and the number of unresolved problems grouped by severity. Clicking on the visible name will open host menu.
Hosts displayed on the map can be filtered by problem severity. Press on the filter icon in the widget's upper right corner and mark the required severities.
It is possible to zoom in and out the map by using the plus and minus buttons in the widget's upper left corner or by using the mouse scroll wheel or touchpad. To set the current view as default, right-click anywhere on the map and select Set this view as default. This setting will override Initial view widget parameter for the current user. To undo this action, right-click anywhere on the map again and select Reset the initial view.
When Initial view or Default view is set, you can return to this view at any time by pressing on the home icon on the left.