ja:documentation:pandorafms:technical_annexes:27_pfms_db_management

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

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

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

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

In this section you can view general information about the Pandora FMS installation. The recommended parameters are shown, as well as warnings about existing values that need to be changed.

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

Menu Management → Admin tools → Diagnostic info. Sections:

メニュー 管理(Management) → 管理ツール(Admin tools) → 診断情報(Diagnostic info)。セクション:

  1. Info status Pandora FMS.
  2. PHP setup.
  3. Database size stats.
  4. Database health status.
  5. Database status info.
  6. System Info.
  7. MySQL Performance metrics.
  8. Tables fragmentation in the Pandora FMS database.
  9. Pandora FMS logs dates.
  10. Pandora FMS Licence Information.
  11. Status of the attachment folder.
  12. Information from the tagente_datos table.
  13. Pandora FMS server threads.
  14. Date system.
  1. Pandora FMS 情報(Info status Pandora FMS).
  2. PHP 設定(PHP setup).
  3. データベースサイズ統計(Database size stats).
  4. データベース健全性状態(Database health status).
  5. データベース状態(Database status info).
  6. システム情報(System Info).
  7. MySQL パフォーマンスメトリック(MySQL Performance metrics).
  8. Pandora FMS データベースのテーブルの断片化(Tables fragmentation in the Pandora FMS database).
  9. Pandora FMS ログ日時(Pandora FMS logs dates).
  10. Pandora FMS ライセンス情報(Pandora FMS Licence Information).
  11. 添付フォルダの状態(Status of the attachment folder).
  12. tagente_datos テーブルの情報(Information from the tagente_datos table).
  13. Pandora FMS サーバスレッド(Pandora FMS server threads).
  14. 日付システム(Date system).

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

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

It is an extension that allows to execute commands in the database and see its result. Advanced tool that should only be used by people who know SQL and the Pandora FMS database schema with enough detail.

これは、データベースでコマンドを実行し、その結果を確認できる拡張機能です。SQL と Pandora FMS データベーススキーマを十分に理解している人だけが使用できる高度なツールです。

Menu Management → Admin tools → DB Interface.

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

This check can only be performed on MySQL databases.

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

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

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

Menú Management → Admin tools → DB Schema check.

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

It is recommended to use this extension to check if a database migration has been performed correctly.

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

The operation is as follows:

操作は以下のとおりです。

  • The user must have privileges to Select, Drop, Create and References. Example:
    • DB User with privileges: root.
    • DB Password for this user: pandora or Pandor4!.
    • DB Hostname: localhost.
    • DB Name (testing purposes only; temporary): db_test.
  • A temporary database is created with the structure that the installation database must have (different depending on the version installed).
  • The schema of the database created is compared with that of the database referenced in the installation.
  • The temporary database is deleted.
  • The results are displayed, if something is incorrect, messages will be displayed with instructions to follow to bring the database to its correct structure.
  • ユーザには、selectdropcreate、および references 権限が必要です。例:
    • 権限のある DB ユーザ(DB User with privileges): root.
    • この DB ユーザのパスワード(DB Password for this user): pandora または Pandor4!.
    • DB ホスト名(DB Hostname): localhost.
    • DB 名(一時的なテスト目的のみ)(DB Name (testing purposes only; temporary)): db_test.
  • インストールデータベースに必要な構造 (インストールされているバージョンによって異なります) を持つ一時データベースが作成されます。
  • 作成されたデータベースのスキーマは、インストールで参照されるデータベースのスキーマと比較されます。
  • 一時データベースが削除されます。
  • 結果が表示され、何かが間違っている場合は、データベースを正しい構造にするための指示を示すメッセージが表示されます。

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

  • ja/documentation/pandorafms/technical_annexes/27_pfms_db_management.txt
  • 最終更新: 2024/06/24 05:25
  • by junichi