目次

コンソールからのデータベース管理

The core of Pandora FMS system is its database.

Pandora FMS システムのコアはデータベースです。

It stores all the data collected by the monitored systems, agent configurations, alerts, events, audit data, different users and their information. In other words, all system data.

監視対象システムによって収集されたすべてのデータ、エージェント設定、アラート、イベント、監査データ、さまざまなユーザとその情報を保存します。 つまり、すべてのシステムデータです

There are several extensions you can use from the web Console to view information about the database. Some of them are described here.

データベースに関する情報を表示するためにコンソールから使用できる拡張機能がいくつかあります。いくつかをここで説明します。

診断情報

Management → Admin tools → Diagnostic info menu.






管理(Management) → 管理ツール(Admin tools) → 診断情報(Diagnostic info) メニュー。






This section displays general information about the Pandora FMS installation. It shows recommended parameters as well as warnings about existing values that need to be changed.

このセクションでは、Pandora FMS のインストールに関する一般的な情報が表示されます。推奨パラメータと、変更が必要な既存の値に関する警告が表示されます。

It may take a few moments to load all the information. Then it will show the following sections:

すべての情報を読み込むには少し時間がかかる場合があります。その後、以下のセクションが表示されます。

  1. Info status Pandora FMS: With installed versions, a link to access the Console, and basic license information.
  2. PHP setup: Installed PHP language version and configured values for execution time, timeout, and memory handling.
  3. Database size stats: Basic database information and its usage with PFMS.
  4. Database health status: Includes, among other values, the last execution of the script pandora_db.
  5. Database status info: Installed database version.
  6. System Info: Information about the hardware and operating system hosting the web Console.
  7. MySQL Performance metrics: Displays a series of recommended values and compares them with the configured ones. Validated values are denoted with the icon , items that need correction are shown with the icon .
  8. Tables fragmentation in the Pandora FMS database: Analyzes table fragmentation to keep it below the recommended percentage (10% by default).
  9. Pandora FMS logs dates: Size of log files.
  10. Pandora FMS Licence Information: Extended information about the license in use.
  11. Status of the attachment folder: Total number of files in the attachment directory.
  12. Information from the tagente_datos table: Special table with agent data and information; its size should be constantly monitored.
  13. Pandora FMS server threads: Threads used for different PFMS servers.
  14. Date system: Date and time of the web Console (which may differ from the date and time of the database).
  1. Pandora FMS 情報(Info status Pandora FMS): インストールされているバージョン、コンソールへのアクセスリンク、および基本的なライセンス情報。
  2. PHP 設定(PHP setup): インストールされている PHP 言語のバージョンと、実行時間、タイムアウト、メモリ処理の設定値。
  3. データベースサイズ統計(Database size stats): 基本的なデータベース情報と PFMS での使用状況。
  4. データベース健全性状態(Database health status): その他、script pandora_db の最終実行日時などが含まれます。
  5. データベース状態(Database status info): インストールされているデータベースのバージョン。
  6. システム情報(System Info): Web コンソールをホストしているハードウェアとオペレーティングシステムに関する情報。
  7. MySQL パフォーマンスメトリクス(MySQL Performance metrics): 一連の推奨値を表示し、設定値と比較します。検証済みの値はアイコン で示され、修正が必要な項目はアイコン で示されます。
  8. Pandora FMS データベースのテーブル断片化(Tables fragmentation in the Pandora FMS database): テーブルの断片化を分析し、推奨割合(デフォルトは 10%)未満に保ちます。
  9. Pandora FMS ログ日時(Pandora FMS logs dates): ログファイルのサイズ。
  10. Pandora FMS ライセンス情報(Pandora FMS License Information): 使用中のライセンスに関する詳細情報。
  11. 添付フォルダの状態(Status of the attachment folder): 添付ディレクトリ内のファイルの総数。
  12. tagente_datos テーブルの情報(Information from the tagente_datos table): エージェントのデータと情報を格納する特別なテーブル。サイズは常に監視する必要があります。
  13. Pandora FMS サーバスレッド(Pandora FMS server threads): 異なる PFMS サーバ で使用されるスレッド。
  14. 日付システム(Date system): Web コンソールの日付と時刻 (データベースの日付と時刻 とは異なる場合があります)。

Additionally, graphs representing the self-monitoring of the PFMS Server modules will be shown at the end.

さらに、最後に PFMS サーバモジュールの自己監視を表すグラフが表示されます。

DB インタフェース

Management → Admin tools → DB Interface menu.






管理(Management) → 管理ツール(Admin tools) → DB インタフェース(DB Interface) メニュー。






It is an extension that allows you to execute commands on the database and view the results. This is an advanced tool that should only be used by people who are familiar with SQL and the Pandora FMS database schema in sufficient detail. It is reserved for users of type superadmin.

これは、データベースに対してコマンドを実行し、結果を表示できる拡張機能です。これは高度なツールであり、SQL と Pandora FMS データベーススキーマに十分な知識を持つユーザのみが使用すべきです。スーパー管理者ユーザ専用です。

Improper use of this tool can destroy data or render the application permanently inoperable. It should be used with caution.

このツールを不適切に使用すると、データが破壊されたり、アプリケーションが永久に動作しなくなる可能性があります。注意して使用してください

DB スキーマチェック

Menu Management → Admin tools → DB Schema check.






メニュー 管理(Management) → 管理ツール(Admin tools) → DB スキーマチェック(DB Schema check).






This extension allows you to check for structural differences between the Pandora FMS database and a reference schema to compare potential errors. It is recommended to use this extension to verify if a database migration has been performed correctly.

この拡張機能を使用すると、Pandora FMS データベースと参照スキーマ間の構造的な差異をチェックし、潜在的なエラーを比較することができます。データベース移行が正しく実行されたかどうかを確認するために、この拡張機能の使用をお勧めします。

This check can only be performed on MySQL databases. The user must have privileges for the SELECT, DROP, CREATE, and REFERENCES commands.

このチェックは MySQL データベースでのみ実行できます。ユーザには SELECTDROPCREATEREFERENCES コマンドの権限が必要です。

Steps taken during the check:

チェック中に実行される手順:

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