差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| ja:documentation:pandorafms:technical_annexes:27_pfms_db_management [2024/02/19 05:17] – junichi | ja:documentation:pandorafms:technical_annexes:27_pfms_db_management [2026/01/17 00:13] (現在) – [コンソールからのデータベース管理] junichi | ||
|---|---|---|---|
| 行 3: | 行 3: | ||
| {{indexmenu_n> | {{indexmenu_n> | ||
| + | <WRAP center round box centeralign> | ||
| + | **The core of Pandora FMS system is its database**. | ||
| - | <WRAP center round todo 60%> | + | </ |
| + | |||
| + | <WRAP center round box centeralign> | ||
| - | We are working on the translation of the Pandora FMS documentation. Sorry for any inconvenience. | + | **Pandora FMS システムのコアはデータベースです。** |
| </ | </ | ||
| - | **The core of the Pandora FMS system is its database**. | + | It stores all the data collected by the monitored systems, |
| - | **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 が適切に機能するには効率と信頼性が不可欠であるため、データベースの保守が最も重要です。 | + | There are several extensions you can use from the web Console to view information about the database. Some of them are described here. |
| - | 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 の知識があまりなくてもコンソールからデータベースを管理することもできます。 | + | <wrap #ks1 /> |
| - | There are several extensions that you can use from the Console to view information about the database. | + | ===== 診断情報 ===== |
| - | データベースに関する情報を表示するためにコンソールから使用できる拡張機能がいくつかあります。 | + | <WRAP left round box 50%> |
| - | ===== 診断ツール ===== | + | <wrap : |
| - | 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 インストールに関する一般的な情報を確認できます。 データベースから取得される大量の情報には注目に値します。推奨されるパラメーターや、変更が必要な既存の値に関する警告を確認できます。 | + | <WRAP left round box 50%> |
| - | {{ : | + | <wrap : |
| - | For the 767 version it is composed of 14 sections, some of them are the following: | + | </ |
| + | \\ \\ \\ \\ \\ | ||
| - | バージョン 767 の場合、14 のセクションで構成されており、その一部は次のとおりです。 | + | 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 のインストールに関する一般的な情報が表示されます。推奨パラメータと、変更が必要な既存の値に関する警告が表示されます。 |
| - | {{ :wiki: | + | It may take a few moments to load all the information. Then it will show the following sections: |
| - | {{ : | + | すべての情報を読み込むには少し時間がかかる場合があります。その後、以下のセクションが表示されます。 |
| - | {{ :wiki:pfms-admin_tools-diagnostic_info-database_status_info.png |Database status info}} | + | - < |
| + | | ||
| + | | ||
| + | - <wrap : | ||
| + | - <wrap :en>**Database status info**</ | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| - | {{ :wiki:pfms-admin_tools-diagnostic_info-mysql_perfomance_metrics.png | + | - < |
| + | | ||
| + | | ||
| + | | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| + | - <wrap : | ||
| - | {{ :wiki:pfms-admin_tools-diagnostic_info-tables_fragmentation.png |Tables fragmentation in the Pandora FMS database}} | + | Additionally, |
| - | {{ : | + | さらに、最後に PFMS サーバモジュールの自己監視を表すグラフが表示されます。 |
| - | {{ : | + | <wrap #ks2 /> |
| ===== DB インタフェース ===== | ===== DB インタフェース ===== | ||
| - | 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. | + | <WRAP left round box 50%> |
| - | これは、データベース上でコマンドを実行し、結果を確認できるようにする拡張機能です。 これは高度なツールであり、SQL と Pandora FMS データベース スキーマを十分に詳しく知っている人のみが使用する必要があります。 | + | <wrap : |
| + | |||
| + | </ | ||
| + | \\ \\ \\ \\ \\ | ||
| + | |||
| + | <WRAP left round box 50%> | ||
| + | |||
| + | <wrap : | ||
| + | |||
| + | </ | ||
| + | \\ \\ \\ \\ \\ | ||
| + | |||
| + | 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 [[: | ||
| + | |||
| + | これは、データベースに対してコマンドを実行し、結果を表示できる拡張機能です。これは高度なツールであり、**SQL と Pandora FMS データベーススキーマに十分な知識を持つユーザのみ**が使用すべきです。[[: | ||
| <WRAP center round important 90%> | <WRAP center round important 90%> | ||
| - | Improper use of this tool can destroy data or render the application permanently | + | Improper use of this tool can destroy data or render the application permanently |
| </ | </ | ||
| 行 69: | 行 115: | ||
| <WRAP center round important 90%> | <WRAP center round important 90%> | ||
| - | このツールを正しく利用しないと、データが破壊されたり、アプリケーションが永久に動作不能になったりする可能性があります。 | + | このツールを不適切に使用すると、データが破壊されたり、アプリケーションが永久に動作しなくなる可能性があります。**注意して使用してください**。 |
| </ | </ | ||
| - | The extension is accessed from the **Admin tools** menu → **DB interface**: | + | <wrap #ks3 /> |
| - | この拡張機能には、**管理ツール(Admin tools)** メニュー → **DB インターフェイス(DB interface)** からアクセスします。 | + | ===== DB スキーマチェック ===== |
| - | {{ : | + | <WRAP left round box 50%> |
| - | Type the command in the blank field and click **Execute SQL**. | + | Menu <wrap :en>**Management → {{: |
| - | 空白のフィールドにコマンドを入力し、**SQL の実行** をクリックします。 | + | </ |
| + | \\ \\ \\ \\ \\ | ||
| - | ===== DB スキーマチェック ===== | + | <WRAP left round box 50%> |
| - | <WRAP center round important 60%> This check can only be performed on MySQL Databases. </WRAP> | + | メニュー |
| - | <WRAP center round important 60%> このチェックは MySQL データベースでのみ実行できます。 | + | </ |
| + | \\ \\ \\ \\ \\ | ||
| - | This is an extension | + | This extension allows |
| - | これは、現状の Pandora FMS データベースと、考えられるエラーを比較するための標準スキームとの間の構造的な違いをチェックできるようにする拡張機能です。 | + | この拡張機能を使用すると、Pandora FMS データベースと参照スキーマ間の構造的な差異をチェックし、潜在的なエラーを比較することができます。データベース移行が正しく実行されたかどうかを確認するために、この拡張機能の使用をお勧めします。 |
| - | <WRAP center round tip 60%> It is recommended to use this extension to check if a database migration was successful </WRAP> | + | <WRAP center round important 90%> |
| - | <WRAP center round tip 60%> データベースの移行が成功したかどうかを確認するには、この拡張機能を使用することをお勧めします。 </ | + | This check can only be performed on MySQL databases. The user must have privileges for the '' |
| - | The operation is as follows: | + | </ |
| - | 処理は次のとおりです。 | + | <WRAP center round important 90%> |
| + | |||
| + | このチェックは MySQL データベースでのみ実行できます。ユーザには '' | ||
| + | |||
| + | </ | ||
| - | * A temporary database is created | + | |
| - | | + | * <wrap :en>**DB Password for this user**</ |
| - | | + | * <wrap :en>**DB Hostname**</ |
| + | * <wrap :en>**DB Name (testing purposes only; temporary)**</ | ||
| - | * 一時データベースが、インストールデータベースに必要な構造 | + | |
| - | | + | * <wrap : |
| - | | + | * <wrap :ja>**DB ホスト名(DB Hostname)**</ |
| + | * <wrap : | ||
| - | {{ :wiki: | + | Steps taken during the check: |
| - | Enter your database access data and click the **Run test** button. For example: | + | チェック中に実行される手順: |
| - | データベースアクセス情報を入力し、**テストの実行(Run test)** ボタンをクリックします。例: | + | |
| + | * The schema of the created database is compared with the database schema referenced in the installation. | ||
| + | | ||
| + | | ||
| - | {{ : | + | * インストールデータベースの構造(インストールバージョンによって異なります)に基づいて、一時データベースが作成されます。 |
| + | * 作成されたデータベースのスキーマが、インストール時に参照されるデータベーススキーマと比較されます。 | ||
| + | * 一時データベースが削除されます。 | ||
| + | * 結果が表示され、問題がある場合は、データベースを正しい構造にするための手順を示すメッセージが表示されます。 | ||
| - | [[ja: | + | [[ja: |