ja:documentation:pandorafms:installation:04_configuration

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:installation:04_configuration [2024/02/19 07:35] – [activate_gis] junichija:documentation:pandorafms:installation:04_configuration [2024/03/24 04:49] (現在) – [logserver_threads] junichi
行 1: 行 1:
-====== Pandora FMS の設定 ====== +====== サーバとコンソールの設定 ====== 
 + 
 {{indexmenu_n>4}} {{indexmenu_n>4}}
  
 [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]
  
-Pandora FMS には、コンソール、サーバ、データベースの 3つの基本的なコンポーネントがあり、それぞれ正しく動作させるためには設定が必要です。+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]]:
  
-<WRAP center round tip 60%> +Pandora FMS には、基本的なコンポーネントがあり、それぞれ[[:ja:documentation:pandorafms:complex_environments_and_optimization:08_optimization#概要|動作させる]]ためには設定が必要です。
-すでに Pandora FMS をイール・実行していたり、**[[:ja:quickguides:general_quick_guide#アプライアンス_cd_のインストール|アプライアンス]]** でインストールている場合でも、より最適な動作ために構成を調整し、修正ることを検討してください +
-</WRAP>+
  
-You may get more information about Pandora FMS optimization[[:en:documentation:05_big_environments:08_optimization#optimizing_pandora_fms|in this section]]In this chapter, we are going to explain the configuration files of the three elements and others which are important for a correct performance of the application components.+  * Web console. 
 +  * PFMS server. 
 +  * Database.
  
-Pandora FMS の最適化については、[[:ja:documentation:05_big_environments:08_optimization#optimizing_pandora_fms|こちらの章]] を参照してください。 +  * ウェブコンソール 
-この章では、これら 3つのコンポネントの設定について説明します。また、パフォマンを維持するために重要な、その他のコンポーネントについても説明します。+  * Pandora FMS サーバ 
 +  * デタベース
  
-{{  :wiki:pandora_fms-standard_design.png?600  |//Standard Pandora FMS design//}}+This topic explains the configuration files for all three elements, as well as other important elements. 
 + 
 +このトピックでは、3 つの要素すべての設定ファイルと他の重要な要素について説明します。
  
 ===== サーバ ===== ===== サーバ =====
-Pandora FMS サーバのデフォルトの設定ファイルは、ディレクトリ ''/etc/pandora/'' 以下にある ''pandora_server.conf'' です。 
  
-Pandora FMS バージョン 7.0NG 752 以降では、グラフィカルインターフェイスを使用して、Pandora FMS サーバに関連するいくつかの変更を行うことができます。(端末からも Web コンソールからも)プレーンテキストで設定ファイルにアクセスする必要はありません。 +The main configuration of the Pandora FMS server is found in the ''pandora_server.conf''  file, in the default path ''/etc/pandora''.
  
-**これを行うには、リモー設定を ''pandora_server.conf'' 設定ファイル内で事前有効にする必要があります**。 [[:ja:documentation:04_using:11_managing_and_administration#サーバ|サーバ表示]]にアクセスし、データサーバ行で有効になっているリモート設定アイコンをクリックする必要があります。 +Pandora FMS サーバの主な設定は、デフォルト パス ''/etc/pandora'' の ''pandora_server.conf'' ファイルにあります。
  
-{{  :wiki:servers-manage-servers-pandora-fms-servers-remote-configuration-icon.png?300  }}+==== 設定ファイルの項目 ====
  
-最初セクション **サーバ機能** で、各サーバるトーでサを有効また無効することができます。 +Pandora FMS 設定ファイルは、UNIX 基本的なプレーンテキストファイルになっています。''#'' が先頭にある行は、使われていない設定やコメントす。Windows で設定を編集する場合はフォーマット対応すエディタを利用してください。UTF-8 以外を扱う場合は、Pandora FMS **[[ja:documentation:pandorafms:management_and_operation:12_console_setup#一般設定|リモーコンフィグのエンコディグ変更(Change remote config encoding)]]** パラメを有効にしてください。全設定パラメータ以下示します。
  
-{{  :wiki:server_editor_formulario.png  }}+<WRAP center round info 60%>See the [[:en:documentation:07_technical_annexes:15_security_architecture|Security Architecture section]] **to ensure the operation** of the entire Pandora FMS system.</WRAP>
  
-2番目設定部分では、最適化設定行う **最適化設定(Optimization settings)** もありま。このセクションでは、タイムウト時間やサバ専用スレッドなどのパラメータ変更できます。 +<WRAP center round info 60%>Pandora FMS システム全体動作確認るには、[[:ja:documentation:pandorafms:technical_annexes:15_security_architecture|セキュリティアーキテクチャ章]] 参照してください</WRAP> 
 +=== multiprocess ===
  
-そして最後に、他の設定用に予約されたスペース **他のサーバ設定(Other server settings)** があります。このセクションには、Pandora FMS 環境に追加されるエージェントが、作成時に特に指定されていない場合にデフォルトで割り当てられるグループ ID を指定することができます。システムに存在しないエージェント ID のデータを受信した場合にエージェントを自動作成するには、エージェントの自動作成を有効にします。 +<code> 
 +# If set to 1, Pandora FMS servers will run in separate processes. 
 +multiprocess 0
  
-==== 設定ファイルの項目 ====+</code>
  
-Pandora FMS の設定ファイルは、UNIX の基本的なプレーンテキストファイルになっています。''#'' が先頭にある行は、使われていない設定やコメントです。Windows で設定を編集する場合は、このフォーマットに対応するエディタを利用してください。UTF-8 以外を扱う場合は、Pandora FMS **[[ja:documentation:04_using:12_console_setup#一般設定|リモートコンフィグのエンコーディング変更(Change remote config encoding)]]** パラメータを有効にしてください。全設定パラメータは以下に示します。+Disabled by default. If set to 1, Pandora FMS servers will run in separate processes.
  
-<WRAP center round info 60%>See the [[:en:documentation:07_technical_annexes:15_security_architecture|Security Architecture section]] **to ensure the operation** of the entire Pandora FMS system.</WRAP>+デフォルトでは無効になっています。 1 に設定すると、Pandora FMS サーバは別々のプロセスで実行されます。
  
-<WRAP center round info 60%>Pandora FMS システム全体の動作を確認するには、[[:ja:documentation:07_technical_annexes:15_security_architecture|セキュリティアーキテクチャの章]] を参照してください。</WRAP> 
 === servername === === servername ===
 コンソールに表示される Pandora FMS のサーバ名を設定します。デフォルトではコメントアウトされており、ホスト名が使われます。 コンソールに表示される Pandora FMS のサーバ名を設定します。デフォルトではコメントアウトされており、ホスト名が使われます。
行 55: 行 60:
  
 === snmp_logfile === === snmp_logfile ===
-Pandora FMS の SNMP コンソールログを設定します。デフォルトは、///var/log/pandora/pandora_snmptrap.log// です。[[Pandora:Documentation_ja:SNMP_traps_Monitoring|SNMP コンソール]] に Pandora FMS サーバが処理する前の受け取った全 SNMP トラップがあります。+ 
 +[[:en:documentation:pandorafms:monitoring:08_snmp_traps_monitoring|SNMP console]] log by default at: 
 + 
 +[[:ja:documentation:pandorafms:monitoring:08_snmp_traps_monitoring|SNMP コンソール]] ログデフォルトで以下にあります。 
 + 
 +<file> 
 + 
 +  /var/log/pandora/pandora_snmptrap.log 
 + 
 +</file>
  
 === errorlog_file === === errorlog_file ===
行 705: 行 719:
 ''1'' にするとイベント相関サーバを有効にします。''0'' で無効です。(デフォルトは ''1'' です) ''[[:ja:documentation:02_installation:04_configuration#correlationserver|correlationserver]]'' も参照してください。 ''1'' にするとイベント相関サーバを有効にします。''0'' で無効です。(デフォルトは ''1'' です) ''[[:ja:documentation:02_installation:04_configuration#correlationserver|correlationserver]]'' も参照してください。
  
 +=== eventserver_threads ===
 +
 +{{:wiki:icono-modulo-enterprise.png  |Enterprise version.}} It sets the number of threads to be executed in the ''[[#eventserver|eventserver]]'', default value 1.
 +
 +{{:wiki:icono-modulo-enterprise.png  |Enterprise 版}} ''[[#eventserver|eventserver]]'' で実行されるスレッドの数を設定します。デフォルト値は 1 です。
 +
 +<code>
 +# Number of threads for the Event Server (PANDORA FMS ENTERPRISE ONLY).
 +eventserver_threads 1
 +
 +</code>
  
 === event_window === === event_window ===
行 1722: 行 1747:
  
 </code> </code>
 +
 +=== syslog_whitelist ===
 +
 +[[https://pandorafms.com/es/pandora-fms-prices/?o=dwpfms|{{:wiki:icono-modulo-enterprise.png?nolink&23x23  |Enterprise Version}}]]When activating the [[:en:documentation:pandorafms:installation:04_configuration#syslogserver|Syslog server]] , sets the **allowed**  logs using regular expression filtering (**regexp**).
 +
 +[[https://pandorafms.com/es/pandora-fms-prices/?o=dwpfms|{{:wiki:icono-modulo-enterprise.png?nolink&23x23  |Enterprise 版}}]] [[:ja:documentation:pandorafms:installation:04_configuration#syslogserver|Syslog サーバ]] を有効化するときに、正規表現フィルタリング (**regexp**) を使用して **許可する** ログを設定します。
 +
 +<code>
 +
 +# Whitelist regexp filter for the Syslog Server (PANDORA FMS ENTERPRISE ONLY).
 +# syslog_whitelist .*
 +
 +</code>
 +
 +With ''.*''  everything is allowed; see "[[:en:documentation:pandorafms:monitoring:09_log_monitoring#pfms_server_level_filters|PFMS server level filters]]" for more details.
 +
 +''.*'' を使用すると、すべてが許可されます。 詳細については、[[:ja:documentation:pandorafms:monitoring:09_log_monitoring#pfms_server_level_filters|PFMS サーバ レベルフィルタ]] を参照してください。
 +
 +=== syslog_blacklist ===
 +
 +{{:wiki:icono-modulo-enterprise.png?nolink&23x23  |Enterprise Version}} When activating the [ [#syslogserver|Syslog server]] , sets **locked** logs using regular expression filtering (**regexp**).
 +
 +{{:wiki:icono-modulo-enterprise.png?nolink&23x23  |Enterprise 版}} [ [#syslogserver|Syslog サーバ]] を有効化するときに、正規表現フィルタリング (**regexp**) を使用して **ブロックする** ログを設定します。
 +
 +<code>
 +
 +# Blacklist regexp filter for the Syslog Server (PANDORA FMS ENTERPRISE ONLY).
 +# syslog_blacklist regex
 +
 +</code>
 +
 +See "[[:en:documentation:pandorafms:monitoring:09_log_monitoring#pfms_server_level_filters|PFMS server level filters]]" for more details.
 +
 +より詳細は、[[:ja:documentation:pandorafms:monitoring:09_log_monitoring#pfms_server_level_filters|PFMS サーバ レベルフィルタ]] を参照してください。
 +
 +=== critical_on_error ===
 +
 +If set to 1 (the default), when the executions of certain checks fail (not the checks themselves), the modules go into critical. If set to 0, they will end up going into unknown. 
 +
 +1 (デフォルト) に設定すると、(チェック自体ではなく) 特定のチェックの実行が失敗すると、モジュールは障害状態になります。 0 に設定すると、最終的には不明になります。
 +
 +<code>
 +critical_on_error 1 
 +
 +</code>
 +
 +=== logserver ===
 +
 +{{:wiki:icono-modulo-enterprise.png  |Enterprise version.}} It enables or disables the log server, default value ''0''  (disabled). 
 +
 +{{:wiki:icono-modulo-enterprise.png  |Enterprise 版}} ログサーバを有効化または無効化します。デフォルトは ''0'' (無効化)です。
 +
 +<code>
 +# Enable (1) or disable (0) Pandora FMS Log Server (PANDORA FMS ENTERPRISE ONLY).
 +logserver 0
 +
 +</code>
 +
 +=== logserver_threads ===
 +
 +{{:wiki:icono-modulo-enterprise.png  |Enterprise version.}} 
 +
 +{{:wiki:icono-modulo-enterprise.png  |Enterprise 版}}
 +
 +It sets the number of threads to be executed in the [[#logserver|logserver]], default value ''1''.
 +
 +[[#logserver|logserver]] で実行されるスレッドの数を設定します。デフォルト値は ''1'' です。
 +
 +<code>
 +# Number of threads for the Log Server (PANDORA FMS ENTERPRISE ONLY).
 +logserver_threads 1
 +
 +</code>
 +
 +=== too_many_xml ===
 +
 +<code>
 +# If greater than 0, generate an event when more than the specified number of XML data files are queued for an agent.
 +too_many_xml 10
 +
 +</code>
 +
 +Default value: 10. Generates an event in the Web Console if there are more XML files than the specified number waiting to be processed by the PFMS server.
 +
 +デフォルト値: 10。PFMS サーバによる処理を待機している XML ファイルが指定された数よりも多い場合、Web コンソールでイベントを生成します。
  
 ==== 環境変数 ==== ==== 環境変数 ====
  • ja/documentation/pandorafms/installation/04_configuration.1708328155.txt.gz
  • 最終更新: 2024/02/19 07:35
  • by junichi