| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
| ja:documentation:pandorafms:technical_annexes:27_pfms_db_management [2026/01/17 00:00] – [診断ツール] junichi | ja:documentation:pandorafms:technical_annexes:27_pfms_db_management [2026/01/17 00:13] (現在) – [コンソールからのデータベース管理] junichi |
|---|
| - <wrap :ja>**データベース状態(Database status info)**</wrap>: インストールされているデータベースのバージョン。 | - <wrap :ja>**データベース状態(Database status info)**</wrap>: インストールされているデータベースのバージョン。 |
| - <wrap :ja>**システム情報(System Info)**</wrap>: Web コンソールをホストしているハードウェアとオペレーティングシステムに関する情報。 | - <wrap :ja>**システム情報(System Info)**</wrap>: Web コンソールをホストしているハードウェアとオペレーティングシステムに関する情報。 |
| - <wrap :ja>**MySQL パフォーマンスメトリクス(MySQL Performance metrics)**</wrap>: 一連の推奨値を表示し、設定値と比較します。検証済みの値はアイコン {{:wiki:pfms-icon_failed.svg?nolink&21x21}} で示され、//修正が必要な項目はアイコン {{:wiki:pfms-icon_validated.svg?nolink&21x21}} で示されます。 | - <wrap :ja>**MySQL パフォーマンスメトリクス(MySQL Performance metrics)**</wrap>: 一連の推奨値を表示し、設定値と比較します。検証済みの値はアイコン {{:wiki:pfms-icon_failed.svg?nolink&21x21}} で示され、修正が必要な項目はアイコン {{:wiki:pfms-icon_validated.svg?nolink&21x21}} で示されます。 |
| - <wrap :ja>**Pandora FMS データベースのテーブル断片化(Tables fragmentation in the Pandora FMS database)**</wrap>: テーブルの断片化を分析し、推奨割合(デフォルトは 10%)未満に保ちます。 | - <wrap :ja>**Pandora FMS データベースのテーブル断片化(Tables fragmentation in the Pandora FMS database)**</wrap>: テーブルの断片化を分析し、推奨割合(デフォルトは 10%)未満に保ちます。 |
| - <wrap :ja>**Pandora FMS ログ日時(Pandora FMS logs dates)**</wrap>: ログファイルのサイズ。 | - <wrap :ja>**Pandora FMS ログ日時(Pandora FMS logs dates)**</wrap>: ログファイルのサイズ。 |
| ===== DB インタフェース ===== | ===== DB インタフェース ===== |
| |
| <WRAP center round important 90%> | <WRAP left round box 50%> |
| |
| Improper use of this tool may destroy data or render the application permanently inoperative. Use with caution. | <wrap :en>**Management → {{:wiki:pfms-management-admin_tools-icon.svg?nolink&21x21}} Admin tools → DB Interface**</wrap> menu. |
| |
| </WRAP> | </WRAP> |
| | \\ \\ \\ \\ \\ |
| |
| <WRAP center round important 90%> | <WRAP left round box 50%> |
| |
| このツールを正しく利用しないと、データが破壊されたり、アプリケーションが永久に動作不能になったりする可能性があります。 慎重に使用してください。 | <wrap :ja>**管理(Management) → {{:wiki:pfms-management-admin_tools-icon.svg?nolink&21x21}} 管理ツール(Admin tools) → DB インタフェース(DB Interface)**</wrap> メニュー。 |
| |
| </WRAP> | </WRAP> |
| | \\ \\ \\ \\ \\ |
| |
| 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. | 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 [[:en:documentation:pandorafms:introduction:03_glossary#superadmin|superadmin]]. |
| |
| これは、データベースでコマンドを実行し、その結果を確認できる拡張機能です。SQL と Pandora FMS データベーススキーマを十分に理解している人だけが使用できる高度なツールです。 | これは、データベースに対してコマンドを実行し、結果を表示できる拡張機能です。これは高度なツールであり、**SQL と Pandora FMS データベーススキーマに十分な知識を持つユーザのみ**が使用すべきです。[[:ja:documentation:pandorafms:introduction:03_glossary#superadmin|スーパー管理者]]ユーザ専用です。 |
| |
| Menu <wrap :en>**Management → Admin tools → DB Interface**</wrap>. | <WRAP center round important 90%> |
| |
| メニュー <wrap :ja>**管理(Management) → 管理ツール(Admin tools) → DB インタフェース(DB Interface)**</wrap>。 | Improper use of this tool can destroy data or render the application permanently inoperable. **It should be used with caution**. |
| | |
| | </WRAP> |
| | |
| | <WRAP center round important 90%> |
| | |
| | このツールを不適切に使用すると、データが破壊されたり、アプリケーションが永久に動作しなくなる可能性があります。**注意して使用してください**。 |
| | |
| | </WRAP> |
| |
| <wrap #ks3 /> | <wrap #ks3 /> |
| ===== DB スキーマチェック ===== | ===== DB スキーマチェック ===== |
| |
| <WRAP center round important 90%> | <WRAP left round box 50%> |
| |
| This check can only be performed on MySQL databases. | Menu <wrap :en>**Management → {{:wiki:pfms-management-admin_tools-icon.svg?nolink&21x21}} Admin tools → DB Schema check**</wrap>. |
| |
| </WRAP> | </WRAP> |
| | \\ \\ \\ \\ \\ |
| |
| <WRAP center round important 90%> | <WRAP left round box 50%> |
| |
| このチェックは MySQL データベースでのみ実行できます。 | メニュー <wrap :ja>**管理(Management) → {{:wiki:pfms-management-admin_tools-icon.svg?nolink&21x21}} 管理ツール(Admin tools) → DB スキーマチェック(DB Schema check)**</wrap>. |
| |
| </WRAP> | </WRAP> |
| | \\ \\ \\ \\ \\ |
| |
| 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. | 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 データベースと、考えられるエラーを比較するための標準スキームとの間の構造的な違いをチェックできるようにする拡張機能です。 | この拡張機能を使用すると、Pandora FMS データベースと参照スキーマ間の構造的な差異をチェックし、潜在的なエラーを比較することができます。データベース移行が正しく実行されたかどうかを確認するために、この拡張機能の使用をお勧めします。 |
| |
| <wrap :en>**Management → Admin tools → DB Schema check**</wrap> menu. | <WRAP center round important 90%> |
| |
| メニュー <wrap :ja>**管理(Management) → 管理ツール(Admin tools) → DB スキーマチェック(DB Schema check)**</wrap>. | This check can only be performed on MySQL databases. The user must have privileges for the ''SELECT'', ''DROP'', ''CREATE'', and ''REFERENCES'' commands. |
| |
| <WRAP center round tip 90%> | </WRAP> |
| |
| It is recommended to use this extension to check if a database migration has been performed correctly. | <WRAP center round important 90%> |
| | |
| | このチェックは MySQL データベースでのみ実行できます。ユーザには ''SELECT''、''DROP''、''CREATE''、''REFERENCES'' コマンドの権限が必要です。 |
| |
| </WRAP> | </WRAP> |
| |
| <WRAP center round tip 90%> データベースの移行が成功したかどうかを確認するには、この拡張機能を使用することをお勧めします。 | * <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''. |
| |
| </WRAP> | * <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 purpose only; temporary)**</wrap>: ''db_test'' |
| |
| The operation is as follows: | Steps taken during the check: |
| |
| 操作は以下のとおりです。 | チェック中に実行される手順: |
| |
| * The user must have privileges to ''Select'', ''Drop'', ''Create'' and ''References''. Example: | * A temporary database is created with the structure the installation database should have (different depending on the installed version). |
| * <wrap :en>**DB User with privileges**</wrap>: ''root''. | * The schema of the created database is compared with the database schema referenced in the installation. |
| * <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 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. | * The results are displayed, and if something is incorrect, messages with instructions will be shown to bring the database to its correct structure. |
| |
| * ユーザには、''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''. | |
| * インストールデータベースに必要な構造 (インストールされているバージョンによって異なります) を持つ一時データベースが作成されます。 | |
| * 作成されたデータベースのスキーマは、インストールで参照されるデータベースのスキーマと比較されます。 | |
| * 一時データベースが削除されます。 | * 一時データベースが削除されます。 |
| * 結果が表示され、何かが間違っている場合は、データベースを正しい構造にするための指示を示すメッセージが表示されます。 | * 結果が表示され、問題がある場合は、データベースを正しい構造にするための手順を示すメッセージが表示されます。 |
| |
| [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] | [[ja:documentation:pandorafms:start|Pandora FMS ドキュメント一覧に戻る]] |
| |