ja:documentation:pandorafms:installation:04_configuration

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:installation:04_configuration [2025/10/18 08:56] – [dataserver_smart_queue] junichija:documentation:pandorafms:installation:04_configuration [2025/10/18 09:15] (現在) – [設定ファイル config.php] junichi
行 7: 行 7:
 ===== 概要 ===== ===== 概要 =====
  
-Pandora FMS has three essential components that it is essential to configure correctly for a [[:en:documentation:pandorafms:complex_environments_and_optimization:08_optimization#introduction|proper functioning]]:+Pandora FMS has three essential components that it is essential to configure correctly for a [[:en:documentation:pandorafms:complex_environments_and_optimization:08_optimization|proper functioning]]:
  
-Pandora FMS には、基本的なコンポーネントがあり、それぞれ[[:ja:documentation:pandorafms:complex_environments_and_optimization:08_optimization#概要|正しく動作させる]]ためには設定が必要です。+Pandora FMS には、基本的なコンポーネントがあり、それぞれ[[:ja:documentation:pandorafms:complex_environments_and_optimization:08_optimization|正しく動作させる]]ためには設定が必要です。
  
-  * Web console. +  * [[#ks3|Web console]]
-  * PFMS server. +  * [[#ks2|PFMS server]]
-  * Database.+  * [[#ha_interval|Database]].
  
-  * ウェブコンソール +  * [[#ks3|ウェブコンソール]]。 
-  * Pandora FMS サーバ +  * [[#ks2|Pandora FMS サーバ]]。 
-  * データベース+  * [[#ha_interval|データベース]]。
  
 This topic explains the configuration files for all three elements, as well as other important elements. This topic explains the configuration files for all three elements, as well as other important elements.
行 52: 行 52:
  
 === servername === === servername ===
 +
 +By default it is stored as a comment and the name of the machine is used by the operating system.
 +
 コンソールに表示される Pandora FMS のサーバ名を設定します。デフォルトではコメントアウトされており、ホスト名が使われます。 コンソールに表示される Pandora FMS のサーバ名を設定します。デフォルトではコメントアウトされており、ホスト名が使われます。
  
-<WRAP center round important 60%>+<WRAP center round important 90%> 
 + 
 +Changing the name once it is up and running could cause remote checks to stop working, as the default server would have to be reconfigured on all existing agents to use the new server, and the old server name would have to be deleted from the server list. 
 + 
 +</WRAP> 
 + 
 +<WRAP center round important 90%> 
 実行中のサーバ名を変更するとリモート監視が停止します。全エージェントにおいてデフォルトの実行サーバの設定を新しいサーバ名に変更する必要があります。また、古いサーバ名をサーバ一覧から削除します。 実行中のサーバ名を変更するとリモート監視が停止します。全エージェントにおいてデフォルトの実行サーバの設定を新しいサーバ名に変更する必要があります。また、古いサーバ名をサーバ一覧から削除します。
 +
 </WRAP> </WRAP>
  
 === incomingdir === === incomingdir ===
-XML データを受け取るディレクトリを設定します。デフォルトは、///var/spool/pandora/data_in/// です。ここに RAM ディスクや高速なハードディスクを用いることにより、Pandora FMS のパフォーマンスを向上できます。+ 
 +Input directory for [[:es:documentation:pandorafms:introduction:03_glossary#data_filesdata_xml|XML data]] packages, by default at: 
 + 
 +[[:ja:documentation:pandorafms:introduction:03_glossary#data_filesdata_xml|XML データ]] パッケージの入力ディレクトリ。デフォルト次の場所にあります: 
 + 
 +<file> 
 + 
 +/var/spool/pandora/data_in/ 
 + 
 +</file>
  
 === log_file === === log_file ===
行 72: 行 92:
 <file> <file>
  
-  /var/log/pandora/pandora_snmptrap.log+/var/log/pandora/pandora_snmptrap.log
  
 </file> </file>
 +
 +Its generated by NetSNMP Trap daemon. If you change it, please update the file ''/etc/logrotate.d/pandora_server''  accordingly.
 +
 +これは NetSNMP トラップデーモンによって生成されます。変更する場合は、ファイル ''/etc/logrotate.d/pandora_server'' を適宜更新してください。
  
 === errorlog_file === === errorlog_file ===
行 80: 行 104:
  
 === daemon === === daemon ===
-Pandora サーバをデーモンとして動作させるかどうかです。 
  
-<code> +It runs in [[:en:documentation:pandorafms:introduction:03_glossary#daemon|daemon]] mode (background), yes ''1''; if it is ''0''  it runs in the foreground. Commented out by default. It can also be configured on the command line with the ''-D''  option.
---D +
- +
-</code>+
  
-オプション付きでサーバを起動すると、デーモンとして実行されます。+''1'' の場合は[[:ja:documentation:pandorafms:introduction:03_glossary#daemon|デーモン]] モード(バックグラウンド)で実行されます。''0'' の場合はフォアグラウンドで実行されます。デフォルトではコメントアウトされています。コマンドラインで ''-D'' オプションを使用して設定することもできます。
  
 === dbengine === === dbengine ===
行 102: 行 122:
  
 === dbname === === dbname ===
-接続するデータベース名です。デフォルトの値は 'pandora' です。+ 
 +Name of the database to which the server will [[#ks3_1_2|connect]]. By default it is ''pandora''
 + 
 +サーバが[[#ks3_1_2|接続する]]データベース。デフォルトは ''pandora'' です。
  
 === dbuser === === dbuser ===
-Pandora データベース接続するユーザを設定します。デフォルトは、//pandora// です。+ 
 +Username for [[#ks3_1_2|connection]] to the database. Default is ''pandora''
 + 
 +データベースへの[[#ks3_1_2|接続]]に使用するユーザ。デフォルトは ''pandora'' です。
  
 === dbpass === === dbpass ===
-Pandora FMS データベース接続する時のパスワードを設定します+ 
 +Password for the [[#ks3_1_2|connection]] to Pandora FMS database. 
 + 
 +Pandora FMS データベースへの [[#ks3_1_2|接続]] のパスワード。
  
 === dbhost === === dbhost ===
-Pandora FMS データベースが動作するホストの IPアドレスかまたはホスト名を設定します。サーバと同一のホストにデータベースをインストールした場合は、127.0.0.1 です。+ 
 +IP address, URL or name of the computer that hosts Pandora FMS database. In small installations it is usually the same computer where the server is, that is to say ''127.0.0.1''. See [[#ks3_1_2|config.php]]. 
 + 
 +Pandora FMS データベースが動作するホストの IPアドレスかまたはホスト名を設定します。サーバと同一のホストにデータベースをインストールした場合は、''127.0.0.1'' です。[[#ks3_1_2|config.php]] を参照
  
 === dbport === === dbport ===
-(オプション) データベースの接続ポートを指定する場合に利用しますコメントアウトされている場合は、デフォルトで 3306 が設定されます。+ 
 +TCP port where the database engine listens, by default ''3306''  is used. See [[#ks3_1_2|config.php]]. 
 + 
 +データベースエンジンがリッスンする TCP ポート。デフォルトでは ''3306'' 使用されます。[[#ks3_1_2|config.php]]を参照してください
  
 === daemon === === daemon ===
行 120: 行 155:
  
 === verbosity === === verbosity ===
-サーバログの詳細レベルです。設定可能範囲は 0(オフ) から 10(詳細レベル最大) です。10に設定すると、モジュール、プラグイン、アラートを含め、サーバが実行するすべてのログを表示します。 
  
-<WRAP center round important 60%>+Detail level for server logs, from ''0''  (disabled) to ''10''  (maximum level of detail), ''3''  by default. 
 + 
 +サーバログの詳細レベル。''0'' (無効) から ''10'' (最大の詳細レベル) まで。デフォルトは ''3'' です。 
 + 
 +<WRAP center round important 90%> 
 + 
 +The continuous use of high values is not recommended due to the growth spike of log files, which may cause performance issues in the system. 
 + 
 +</WRAP> 
 + 
 +<WRAP center round important 90%> 
 ログファイルのサイズが大きくなりシステムのパフォーマンスに影響するため、大きい数字を設定することはお勧めしません。 ログファイルのサイズが大きくなりシステムのパフォーマンスに影響するため、大きい数字を設定することはお勧めしません。
 +
 </WRAP> </WRAP>
  
 === master === === master ===
-スターサーバの優先順位です稼働しているサーバで最も値(正の整数です)の大きいものがマスターになります。同じ値の場合はランダムす。0 に設定した場合のサーバはマスターにはなりません。より詳細は、[[ja:documentation:05_big_environments:06_ha|冗長化構成(HA)]]の章を参照してください+ 
 +Primary server priority. The server with the highest value (positive integer numeric value) running will be the master. Ties are broken randomly. If set to ''0'', this server will never become [[:en:documentation:pandorafms:complex_environments_and_optimization:06_ha#ks4_1|primary]]. 
 + 
 +プライサーバの優先。最も高い正の整数値)を持つサーバがマスターサーバになります。同の場合はランダムに決定されます。''0'' に設定した場合、のサーバは [[:ja:documentation:pandorafms:complex_environments_and_optimization:06_ha#ks4_1|プライマリ]] になりません
  
 === snmpconsole === === snmpconsole ===
行 2723: 行 2772:
  
 </WRAP> </WRAP>
 +
 +<wrap #ks3 />
  
 ===== ウェブコンソール ===== ===== ウェブコンソール =====
行 2806: 行 2857:
 </code> </code>
  
-Pandora FMS データベースに接続するユーザのパスワードを設定します。+Password for connection against Pandora FMS database. By default it is ''Pandor4!''
 + 
 +Pandora FMS データベースに接続するユーザのパスワードを設定します。デフォルトは ''Pandor4!''す。
  
 <code php> <code php>
  • ja/documentation/pandorafms/installation/04_configuration.1760777778.txt.gz
  • 最終更新: 2025/10/18 08:56
  • by junichi