ja:documentation:pandorafms:technical_annexes:27_pfms_db_management

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_annexes:27_pfms_db_management [2024/02/19 05:17] – 作成 junichija:documentation:pandorafms:technical_annexes:27_pfms_db_management [2025/02/01 13:13] (現在) – [DB スキーマチェック] junichi
行 2: 行 2:
  
 {{indexmenu_n>27}} {{indexmenu_n>27}}
- 
- 
- 
-<WRAP center round todo 60%> 
- 
-We are working on the translation of the Pandora FMS documentation. Sorry for any inconvenience. 
- 
-</WRAP> 
  
 **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. **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.
行 15: 行 7:
 **Pandora FMS システムの中核はデータベースです**。 監視対象システムによって収集されたすべてのデータ、エージェントの設定、アラート、イベント、監査データ、さまざまなユーザとそのデータが保存されます。 つまり、システム内のすべてのデータです。 **Pandora FMS システムの中核はデータベースです**。 監視対象システムによって収集されたすべてのデータ、エージェントの設定、アラート、イベント、監査データ、さまざまなユーザとそのデータが保存されます。 つまり、システム内のすべてのデータです。
  
-Efficiency and reliability is vital for the proper functioning of Pandora FMS, so maintaining the database is of the utmost importance.+There are several extensions that you can use from the Console to view information about the database.
  
-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.+<wrap #ks1 />
  
-データベースのメンテナンスを定期的に実行するために、管理者はコマンド ラインから標準の MySQL コマンドを使用することも、MySQL の知識があまりなくてもコンソールからデータベースを管理することもできます。+===== 診断ツール =====
  
-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 <wrap :en>**Management → Admin tools → Diagnostic info**</wrap>. Sections:
  
-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.+メニュー <wrap :ja>**管理(Management) → 管理ツール(Admin tools) → 診断情報(Diagnostic info)**</wrap>。セクション:
  
-このセクションでは、Pandora FMS インストールに関する一般的な情報を確認できます。 データベースから取得される大量の情報には注目に値します。推奨されるパラメーターや、変更が必要な既存の値に関する警告を確認できます。+  - <wrap :en>**Info status Pandora FMS**</wrap>
 +  - <wrap :en>**PHP setup**</wrap>
 +  - <wrap :en>**Database size stats**</wrap>
 +  - <wrap :en>**Database health status**</wrap>
 +  - <wrap :en>**Database status info**</wrap>
 +  - <wrap :en>**System Info**</wrap>
 +  - <wrap :en>**MySQL Performance metrics**</wrap>
 +  - <wrap :en>**Tables fragmentation in the Pandora FMS database**</wrap>
 +  - <wrap :en>**Pandora FMS logs dates**</wrap>
 +  - <wrap :en>**Pandora FMS Licence Information**</wrap>
 +  - <wrap :en>**Status of the attachment folder**</wrap>
 +  - <wrap :en>**Information from the tagente_datos table**</wrap>
 +  - <wrap :en>**Pandora FMS server threads**</wrap>
 +  - <wrap :en>**Date system**</wrap>.
  
-{{ :wiki:pfms-admin_tools-diagnostic_info.png }}+  - <wrap :ja>**Pandora FMS 情報(Info status Pandora FMS)**</wrap>
 +  - <wrap :ja>**PHP 設定(PHP setup)**</wrap>
 +  <wrap :ja>**データベースサイズ統計(Database size stats)**</wrap>
 +  <wrap :ja>**データベース健全性状態(Database health status)**</wrap>
 +  - <wrap :ja>**データベース状態(Database status info)**</wrap>
 +  - <wrap :ja>**システム情報(System Info)**</wrap>
 +  - <wrap :ja>**MySQL パフォーマンスメトリック(MySQL Performance metrics)**</wrap>
 +  - <wrap :ja>**Pandora FMS データベースのテーブルの断片化(Tables fragmentation in the Pandora FMS database)**</wrap>
 +  - <wrap :ja>**Pandora FMS ログ日時(Pandora FMS logs dates)**</wrap>
 +  - <wrap :ja>**Pandora FMS ライセンス情報(Pandora FMS Licence Information)**</wrap>
 +  - <wrap :ja>**添付フォルダの状態(Status of the attachment folder)**</wrap>
 +  - <wrap :ja>**tagente_datos テーブルの情報(Information from the tagente_datos table)**</wrap>
 +  - <wrap :ja>**Pandora FMS サーバスレッド(Pandora FMS server threads)**</wrap>
 +  - <wrap :ja>**日付システム(Date system)**</wrap>.
  
-For the 767 version it is composed of 14 sections, some of them are the following:+<wrap #ks2 />
  
-ジョン 767 の場合、14 のセクションで構成されており、その一部は次のとおりです。+===== DB インタフェス =====
  
-{{ :wiki:pfms-admin_tools-diagnostic_info-php_setup.png |PHP setup}}+<WRAP center round important 90%>
  
-{{ :wiki:pfms-admin_tools-diagnostic_info-database_size_stats.png |Database size stats}}+Improper use of this tool may destroy data or render the application permanently inoperative. Use with caution.
  
-{{ :wiki:pfms-admin_tools-diagnostic_info-database_health_status.png |Database health status}}+</WRAP>
  
-{{ :wiki:pfms-admin_tools-diagnostic_info-database_status_info.png |Database status info}}+<WRAP center round important 90%>
  
-{{ :wiki:pfms-admin_tools-diagnostic_info-mysql_perfomance_metrics.png |MySQL Performance metrics}}+このツールを正しく利用しないと、データが破壊されたり、アプリケーションが永久に動作不能になったりする可能性があります。 慎重に使用してください。
  
-{{ :wiki:pfms-admin_tools-diagnostic_info-tables_fragmentation.png |Tables fragmentation in the Pandora FMS database}}+</WRAP>
  
-{{ :wiki:pfms-admin_tools-diagnostic_info-tagente_datos_table.png |Information from the tagente_datos table}}+It is an extension that allows to execute commands in the database and see its resultAdvanced tool that should only be used by people who know SQL and the Pandora FMS database schema with enough detail.
  
-{{ :wiki:pfms-admin_tools-diagnostic_info-execution_time.png |Graphs modules that represent the self-monitoring system}}+これは、データベースでコマンドを実行し、その結果を確認できる拡張機能です。SQL と Pandora FMS データベーススキーマを十分に理解している人だけが使用できる高度なツールです。
  
-===== DB インタフェース =====+Menu <wrap :en>**Management → Admin tools → DB Interface**</wrap>.
  
-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 :ja>**管理(Management) → 管理ツール(Admin tools) → DB インタフェース(DB Interface)**</wrap>
  
-これは、データベース上でコマンドを実行し、結果を確認できるようにする拡張機能です。 これは高度なツールであり、SQL と Pandora FMS データベース スキーマを十分に詳しく知っている人のみが使用する必要があります。+<wrap #ks3 /> 
 + 
 +===== DB スキーマチェック =====
  
 <WRAP center round important 90%> <WRAP center round important 90%>
  
-Improper use of this tool can destroy data or render the application permanently inoperative. Use it with caution.+This check can only be performed on MySQL databases.
  
 </WRAP> </WRAP>
行 69: 行 89:
 <WRAP center round important 90%> <WRAP center round important 90%>
  
-このツールを正しく利用しないと、データが破壊されたり、アプリケションが永久に動作不能になったりする可能性があります。 慎重に使用してください+このチェックは MySQL データスでのみ実行できます。
  
 </WRAP> </WRAP>
  
-The extension is accessed from the **Admin tools** menu → **DB interface**:+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.
  
-の拡張機能には、**管理ツル(Admin tools)** メニュー → **DB インターフェイ(DB interface)** かアクセします。+は、現状の Pandora FMS データースと、考えれるエラーを比較するための標準キームとの間の構造的な違いをチェックできるようにする拡張機能です。
  
-{{ :wiki:pfms-admin_tools-db_interface.png }}+<wrap :en>**Management → Admin tools → DB Schema check**</wrap> menu.
  
-Type the command in the blank field and click **Execute SQL**.+メニュー <wrap :ja>**管理(Management) → 管理ツール(Admin tools) → DB スキーマチェック(DB Schema check)**</wrap>.
  
-空白のフィールドにコマンドを入力し、**SQL の実行** をクリックします。+<WRAP center round tip 90%>
  
-===== DB スキーマチェック =====+It is recommended to use this extension to check if a database migration has been performed correctly.
  
-<WRAP center round important 60%> This check can only be performed on MySQL Databases. </WRAP>+</WRAP>
  
-<WRAP center round important 60%> このチェックは MySQL データベースみ実できます。 </WRAP>+<WRAP center round tip 90%> データベースのが成功したかどうかを確認するには、この拡張機能を使用することをお勧めします。
  
-This is an extension that allows checking the structural differences between the established Pandora FMS database, and a standard scheme to compare possible errors. +</WRAP>
- +
-これは、現状の 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 tip 60%> データベースの移行が成功したかどうかを確認するには、この拡張機能を使用することをお勧めします。 </WRAP>+
  
 The operation is as follows: 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. +
- +
-   * 一時データベースが、インストールデータベースに必要な構造 (インストールされているバージョンによって異なります) で作成されます。 +
-   * 作成されたデータベースが、インストールで参照されたデータベースと比較されます。 +
-   * 一時データベースが削除されます。 +
- +
-{{ :wiki:pfms-admin_tools-db_schema_check.png }}+
  
-Enter your database access data and click the **Run test** buttonFor example:+  * The user must have privileges to ''Select'', ''Drop'', ''Create'' and ''References''. Example: 
 +    <wrap :en>**DB User with privileges**</wrap>: ''root''. 
 +    * <wrap :en>**DB Password for this user**</wrap>: ''pandora'' or ''Pandor4!''
 +    * <wrap :en>**DB Hostname**</wrap>: ''localhost''
 +    * <wrap :en>**DB Name (testing purposes only; temporary)**</wrap>: ''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.
  
-タベースアクセ情報を入力し、**テストの実行(Run test)** タンをクリックします。例:+  * ユザには、''select''、''drop''、''create''、および ''references'' 権限が必要です。例: 
 +    * <wrap :ja>**権限のある DB ユザ(DB User with privileges)**</wrap>: ''root''
 +    * <wrap :ja>**この DB ユーザのパワード(DB Password for this user)**</wrap>: ''pandora'' または ''Pandor4!''
 +    * <wrap :ja>**DB ホト名(DB Hostname)**</wrap>: ''localhost''
 +    * <wrap :ja>**DB 名(一時的なテスト目的み)(DB Name (testing purposes only; temporary))**</wrap>: ''db_test''
 +  * インストールデーベースに必要な構造 (イストールされているバージョンによって異なります) 持つ一時データベースが作成されます。 
 +  * 作成されたデータベースのスキーマは、インストールで参照されるデータベースのスキーマと比較されます。 
 +  * 一時データベースが削除されます。 
 +  * 結果が表示され、何かが間違っている場合は、データベースを正い構造にするための指示を示すメッセージが表示されます。
  
-{{ :wiki:pfms-admin_tools-db_schema_check-success.png?790x500 }}+[[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]
  
-[[:en:documentation:start| Back to Pandora FMS documentation index]] 
  • ja/documentation/pandorafms/technical_annexes/27_pfms_db_management.1708319829.txt.gz
  • 最終更新: 2024/02/19 05:17
  • by junichi