目次

動的レポート

Pandora FMS ドキュメント一覧に戻る

概要

Pandora FMS dynamic reports allow designing fully customised documents to represent environment monitoring data in a simple and comfortable way.

Pandora FMS の動的レポート機能を使用すると、環境監視データをシンプルかつ快適に表示するための、完全にカスタマイズされたドキュメントを作成できます。

These reports are mainly based on 2 elements:

これらのレポートは、主に以下の 2つの要素に基づいています。

These reports are always generated in the background, and can notify the user when they have finished.

これらのレポートは常にバックグラウンドで生成され、完了時にはユーザーに通知することができます。

デザイン

Designs are the main elements of Pandora FMS dynamic reports. It is not possible to create a new report if there is not at least one Design available previously.

デザインは、Pandora FMS の動的レポートにおける主要な要素です。事前に少なくとも 1つのデザインが用意されていなければ、新しいレポートを作成することはできません。

Designs allow defining the shape and content of a report, giving the user the possibility to establish how many pages a report should have and the content that must be represented in each one of them.

「デザイン」機能を使用すると、レポートの形状や内容を定義できます。これにより、ユーザはレポートのページ数や、各ページに表示する内容を設定することが可能になります。

This section is accessible from the side menu in Operation → Reporting → Dynamic reports → Designs.

このセクションには、サイドメニューの 操作(Operation) → レポート(Reporting) → 動的レポート(Dynamic reports) → デザイン(Designs) からアクセスできます。

メイン設定

When creating a Design, it is first necessary to indicate at least:

デザインを作成する際は、まず少なくとも以下を示す必要があります。

The group is very important to limit other users' access to said Design:

当該デザインへの他のユーザのアクセスを制限する上で、そのグループは非常に重要です。

Besides that basic information, other general configuration options can be indicated in the Design:

その基本情報に加え、デザインにおいて、その他の一般的な設定オプションを指定することも可能です。

In the cover, header and footer, the following macros can be used as text to be replaced by information from the report:

表紙、ヘッダ、およびフッタでは、レポートからの情報に置き換えられるテキストとして、以下のマクロを使用できます。

デザインビルダ

Once the main configuration is indicated, the Builder menu for that Design will be available.

基本構成が示されると、そのデザインのビルダーメニューが利用可能になります。

Click to enlarge

In the left panel, the pages for the report will be found. New pages can be added, their order can be changed and their orientation can be rotated as long as they do not have elements inside.

左側のパネルに、レポートのページが表示されます。ページ内に要素が含まれていない限り、新しいページの追加、順序の変更、および向きの回転を行うことができます。

The buttons at the top of that panel allow:

そのパネル上部のボタンでは、以下の操作が可能です。

In the right panel, the available elements to add to the reports will be found, organized in categories to locate them more easily.

右側のパネルには、レポートに追加可能な要素がカテゴリ別に整理されて表示されており、簡単に見つけることができます。

These elements (Widgets) can be added by dragging them to the page in the central panel or by double-clicking on them. In the latter case, they will be added in the first available slot of the page or in a new page if necessary.

これらの要素 (ウィジェット) は、中央パネルのページにドラッグするか、ダブルクリックすることで追加できます。後者の場合、ページの最初に利用可能なスロットに追加されるか、必要に応じて新しいページに追加されます。

The current page (selected in the left panel) will be displayed in the central panel.

現在(左側のパネルで選択されている)のページが、中央のパネルに表示されます。

The buttons at the top of this panel allow:

このパネル上部のボタンでは、以下の操作が可能です。

ウィジェット

Widgets are the elements that can be added in the Designs to display report data. Each Widget, according to its operation, has its own configuration.

ウィジェットは、レポートデータを表示するためにデザインに追加できる要素です。各ウィジェットには、その動作に応じた独自の設定があります。

Widgets can be placed in any position within a page. They can also be resized, but depending on the Widget they have minimum and maximum dimensions to be displayed correctly.

ウィジェットはページ内の任意の場所に配置できます。サイズ変更も可能ですが、ウィジェットによっては、正しく表示するために最小および最大のサイズが定められています。

When a Widget is added to a page it must be configured, which can be done from the drop-down menu in its upper right corner or by double-clicking on it.

ウィジェットをページに追加した際は設定を行う必要があり、その設定はウィジェットの右上にあるドロップダウンメニューから、またはウィジェットをダブルクリックすることで行えます。

Some Widgets, such as module graphs, can be configured in two different ways:

モジュールグラフなどの一部のウィジェットは、2通りの方法で設定できます。

For example, in a module graph, it is a specific module of an agent.

例えば、モジュールグラフにおいては、それはエージェントの特定のモジュールです。

For example, for module graphs, the Widget could be configured so that a graph is generated in the report for all agents (.*) with modules that include “CPU” in their name (.*CPU.*).

例えばモジュールグラフの場合、名前に「CPU」を含むモジュール(.*CPU.*)を持つすべてのエージェント(.*)について、レポート内にグラフが生成されるようにウィジェットを設定できます。

Widgets with dynamic configuration can therefore generate as many new elements and pages in the final report as necessary, but they will always occupy at least their assigned space.

したがって、動的な設定が可能なウィジェットは、最終的なレポートにおいて必要な数だけ新しい要素やページを生成できますが、割り当てられたスペースは常に最低限確保することになります。

Some Widgets, due to their own operation, despite not being dynamic elements depend on Data sources to be able to display information. For example, the Top N of agent modules Widget.

一部のウィジェットは、動的な要素ではないにもかかわらず、その動作の仕組み上、情報を表示するためにデータソースを必要とします。例えば、「エージェントモジュールのトップ N (Top N of agent modules)」ウィジェットなどがこれに該当します。

The report generation will try to calculate the best positions for the additional elements it has to add due to dynamic configurations, always respecting the defined Design as much as possible.

レポート生成機能は、動的な構成変更に伴って追加が必要となる要素について、定義されたデザインを可能な限り尊重しつつ、その最適な配置を算出しようと試みます。

In the Design Builder, dynamic elements will be displayed differently, representing that they can expand to the right and/or downwards whenever they can.

デザインビルダーでは、動的要素は、可能な場合に右方向や下方向へ拡張できることを示すように表示されます。

下書き

The Builder uses a Draft system for each user in each Design. At the moment a user starts making changes to a Design, those changes are stored in a new Draft.

ビルダーは、各デザインにおいてユーザごとに「下書き」システムを使用します。ユーザーがデザインの変更を開始した時点で、その変更内容は新しい下書きに保存されます。

These Drafts allow the user to leave the application and return at any time to resume the editing work. It is not until changes are saved with the Save button that the changes are effective and usable for new reports that are generated.

この「下書き」機能により、ユーザはアプリケーションを一旦離れても、いつでも作業を再開して編集を続けることができます。「保存(Save)」ボタンで変更内容を保存して初めて、その変更が有効となり、新たに生成されるレポートに反映されるようになります。

In case of concurrency when editing a Design, users will be notified at the moment of entering the Builder. This way, users will have to decide whether to discard their Draft (in case they already have it in progress) or if they save the changes they have.

デザインの編集時に同時編集が発生する場合、ユーザはビルダーに入った時点でその旨の通知を受け取ります。その際、ユーザは(すでに作成中の下書きがある場合は)下書きを破棄するか、それとも現在の変更内容を保存するかを選択する必要があります。

The undo and redo actions will only work with changes made in a Draft. That is, the moment a configuration is saved or discarded, it will not be possible to undo or redo with the action buttons.

「元に戻す」および「やり直し」の操作は、下書き内で行われた変更に対してのみ有効です。つまり、設定が保存または破棄された時点で、これらの操作ボタンを使用して変更を取り消したり、やり直したりすることはできなくなります。

データソース

Data sources allow defining sets of agents and agent groups that will be used in report generation for dynamically configured elements.

データソースを使用すると、動的に構成される要素のレポート生成に使用するエージェントやエージェントグループのセットを定義できます。

This section is accessible from the side menu in Operation > Reporting > Dynamic reports > Data sources

このセクションには、サイドメニューの「操作(Operation) > レポート(Reporting) > 動的レポート(Dynamic reports) > データソース(Data sources)」からアクセスできます。

When creating a Data source, it is first necessary to indicate at least:

データソースを作成する際は、まず少なくとも以下を指定する必要があります。

The group is very important to limit other users' access to said Data source:

当該データソースへの他のユーザのアクセスを制限する上で、そのグループは非常に重要です。

Besides that basic information, the elements that are part of the Data source must be indicated:

その基本情報に加え、データソースを構成する要素を示す必要があります。

Data sources are optional for report generation, since a Design could exclusively have statically configured Widgets.

デザインが静的に構成されたウィジェットのみで構成される場合もあるため、レポート生成においてデータソースは必須ではありません。

定義

Report's Definitions are reusable and programmable configurations for effective report generation.

レポート定義は、効果的なレポート生成を行うための、再利用可能かつプログラム可能な設定です。

This section is accessible from the side menu in Operation > Reporting > Dynamic reports > Definitions.

このセクションには、サイドメニューの「操作(Operation) > レポート作成(Reporting) > 動的レポート(Dynamic reports) > 定義(Definitions)」からアクセスできます。

When creating a Definition, it is first necessary to indicate at least:

定義を作成する際は、まず少なくとも以下を示す必要があります。

The group is very important to limit other users' access to said Definition:

そのグループは、当該定義への他のユーザのアクセスを制限する上で非常に重要です。

A Definition can also be scheduled to generate a report periodically.

定義を設定して、定期的にレポートを生成するようにすることも可能です。

It can also be configured to send the reports it generates by mail (besides being accessible from the console itself).

生成されたレポートは、コンソールから直接アクセスできるだけでなく、メールで送信するように設定することも可能です。

生成済レポート

Generated reports are files stored in the Pandora FMS console that display environment information with a predefined Design and specific Data sources.

生成済レポートは、あらかじめ定義されたデザインと特定のデータソースを用いて環境情報を表示する、Pandora FMS コンソールに保存されたファイルです。

These files are generated in the background, because they may require a lot of time to complete depending on the amount of data to show.

これらのファイルはバックグラウンドで生成されます。これは、表示するデータの量によっては生成に長い時間がかかる場合があるためです。

This section is accessible from the side menu in Operation → Reporting → Dynamic reports → Generated reports.

このセクションには、サイドメニューの 操作(Operation) → レポート(Reporting) → 動的レポート(Dynamic reports) → 生成済レポート(Generated reports) からアクセスできます。

When creating a report, it is first necessary to indicate at least:

レポートを作成する際は、まず少なくとも以下のことを明記する必要があります。

The group is very important to limit other users' access to said Definition:

当該定義への他のユーザのアクセスを制限する上で、このグループは非常に重要です。

It can also be configured to send the Generated report by mail (besides being accessible from the console itself).

生成されたレポートは、コンソールから直接アクセスできるだけでなく、メールで送信するように設定することも可能です。

レポート ACL

In general, report permission bits grant these accesses:

一般的に、レポートの権限ビットは以下のアクセスを許可します。

Pandora FMS ドキュメント一覧に戻る