ja:documentation:pandorafms:technical_annexes:27_pfms_db_management

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

We are working on the translation of the Pandora FMS documentation. Sorry for any inconvenience.

The core of the Pandora FMS system is its database. It stores all the data collected by the monitored systems, the configuration of the agents, the alerts, the events, the audit data, the different users and their data. That is, all the data in the system.

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

Efficiency and reliability is vital for the proper functioning of Pandora FMS, so maintaining the database is of the utmost importance.

Pandora FMS が適切に機能するには効率と信頼性が不可欠であるため、データベースの保守が最も重要です。

To perform database maintenance on a regular basis, administrators can use standard MySQL commands from the command line or they can manage the Database from the Console without much knowledge of MySQL.

データベースのメンテナンスを定期的に実行するために、管理者はコマンド ラインから標準の MySQL コマンドを使用することも、MySQL の知識があまりなくてもコンソールからデータベースを管理することもできます。

There are several extensions that you can use from the Console to view information about the database.

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

In this section we can view general information on the Pandora FMS installation. It is worth noting the large amount of information obtained from the database, where you can see the recommended parameters, as well as warnings about existing values that need to be changed.

このセクションでは、Pandora FMS インストールに関する一般的な情報を確認できます。 データベースから取得される大量の情報には注目に値します。推奨されるパラメーターや、変更が必要な既存の値に関する警告を確認できます。

For the 767 version it is composed of 14 sections, some of them are the following:

バージョン 767 の場合、14 のセクションで構成されており、その一部は次のとおりです。

PHP setup

Database size stats

Database health status

Database status info

MySQL Performance metrics

Tables fragmentation in the Pandora FMS database

Information from the tagente_datos table

Graphs modules that represent the self-monitoring system

This is an extension that allows you to execute commands on the database and see the result. It is an advanced tool that should only be used by people who know SQL and the Pandora FMS database schema in sufficient detail.

これは、データベース上でコマンドを実行し、結果を確認できるようにする拡張機能です。 これは高度なツールであり、SQL と Pandora FMS データベース スキーマを十分に詳しく知っている人のみが使用する必要があります。

Improper use of this tool can destroy data or render the application permanently inoperative. Use it with caution.

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

The extension is accessed from the Admin tools menu → DB interface:

この拡張機能には、管理ツール(Admin tools) メニュー → DB インターフェイス(DB interface) からアクセスします。

Type the command in the blank field and click Execute SQL.

空白のフィールドにコマンドを入力し、SQL の実行 をクリックします。

This check can only be performed on MySQL Databases.

このチェックは MySQL データベースでのみ実行できます。

This is an extension that allows checking the structural differences between the established Pandora FMS database, and a standard scheme to compare possible errors.

これは、現状の Pandora FMS データベースと、考えられるエラーを比較するための標準スキームとの間の構造的な違いをチェックできるようにする拡張機能です。

It is recommended to use this extension to check if a database migration was successful

データベースの移行が成功したかどうかを確認するには、この拡張機能を使用することをお勧めします。

The operation is as follows:

処理は次のとおりです。

  • A temporary database is created with the structure that the installation database must have (different depending on the installed version).
  • The database created is compared with the database referenced in the installation.
  • The temporary database is deleted.
  • 一時データベースが、インストールデータベースに必要な構造 (インストールされているバージョンによって異なります) で作成されます。
  • 作成されたデータベースが、インストールで参照されたデータベースと比較されます。
  • 一時データベースが削除されます。

Enter your database access data and click the Run test button. For example:

データベースアクセス情報を入力し、テストの実行(Run test) ボタンをクリックします。例:

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

  • ja/documentation/pandorafms/technical_annexes/27_pfms_db_management.txt
  • 最終更新: 2024/02/19 05:17
  • by junichi