両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
ja:documentation:pandorafms:installation:04_configuration [2024/02/19 07:42] – [Pandora FMS の設定] junichi | ja:documentation:pandorafms:installation:04_configuration [2024/03/24 04:49] (現在) – [logserver_threads] junichi |
---|
| |
===== サーバ ===== | ===== サーバ ===== |
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 のサーバ名を設定します。デフォルトではコメントアウトされており、ホスト名が使われます。 |
''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 === |
| |
</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 コンソールでイベントを生成します。 |
| |
==== 環境変数 ==== | ==== 環境変数 ==== |