ja:documentation:pandorafms:installation:04_configuration

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:installation:04_configuration [2026/06/06 07:20] – [log_collector_chunck_size] junichija:documentation:pandorafms:installation:04_configuration [2026/07/24 21:48] (現在) – [設定ファイル config.php] junichi
行 665: 行 665:
 </code> </code>
  
-If not specified, [[:en:documentation:pandorafms:management_and_operation:12_console_setup#ks1_1_3|Pandora FMS Console configuration]] will be used. It is possible to have a different MTA configuration for Pandora FMS Server and Pandora FMS Console.+If not specified, [[:en:documentation:pandorafms:management_and_operation:12_console_setup#ks1_1_7|Pandora FMS Console configuration]] will be used. It is possible to have a different MTA configuration for Pandora FMS Server and Web Console.
  
 </WRAP> </WRAP>
行 679: 行 679:
 </code> </code>
  
-指定されていない場合は、[[:ja:documentation:pandorafms:management_and_operation:12_console_setup#ks1_1_3|Pandora FMS コンソールの設定]] が使用されます。Pandora FMS サーバと Pandora FMS コンソールで異なる MTA 設定を行うこともできます。+指定されていない場合は、[[:ja:documentation:pandorafms:management_and_operation:12_console_setup#ks1_1_7|Pandora FMS コンソールの設定]] が使用されます。Pandora FMS サーバとコンソールで異なる MTA 設定を行うこともできます。
  
 </WRAP> </WRAP>
行 1729: 行 1729:
  
 <code> <code>
-# If set to 1, alerts are queued for the Pandora FMS Alert Server. If alertserver is set to 1, alerts are always queued.+# If set to 1, alerts are queued for the Pandora FMS Alert Server. 
 +If alertserver is set to 1, alerts are always queued.
 alertserver_queue 1 alertserver_queue 1
 </code> </code>
行 1811: 行 1812:
  
 <code> <code>
-dbsslservercert: Path to a file in PEM format that contains the MySQL server SSL key certificate+# Path to a file in PEM format that contains 
 +the MySQL server SSL key certificate:
 # dbsslservercert # dbsslservercert
- 
 </code> </code>
  
行 2210: 行 2210:
  
 <code> <code>
-# Enable (1) or disable (0) the verification of SSL certificates (set to 0 when using self-signed certificates).+# Enable (1) or disable (0) the verification of SSL certificates  
 +(set to 0 when using self-signed certificates).
 ssl_verify 0 ssl_verify 0
 </code> </code>
行 2221: 行 2222:
  
 <code> <code>
-# If greater than 0, generate an event when more than the specified number of XML data files are queued for an agent.+# 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 too_many_xml 10
- 
 </code> </code>
  
行 2882: 行 2883:
 </code> </code>
  
-Directory where Pandora FMS web console is installed. This is usually ''/var/www/pandora_console'' or ''/srv/www/htdocs/pandora_console''.+Directory where Pandora FMS web console is installed. This usually is ''/var/www/pandora_console''.
  
-Pandora FMS ウェブコンソールのディレクトリを設定します。通常は、''/var/www/pandora_console'' や ''/srv/www/htdocs/pandora_console'' です。+Pandora FMS ウェブコンソールのディレクトリを設定します。通常は、''/var/www/pandora_console'' です。
  
 <code php> <code php>
行 3031: 行 3032:
 <WRAP center round info 90%> <WRAP center round info 90%>
  
-**Version 768 or later**: You may authenticate with **API Token** by sending in the [[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers|HTTP headers]] of a [[https://www.rfc-editor.org/rfc/rfc6750#page-3|bearer token]] generated by each user and for their own private and particular use. See also "[[:en:documentation:pandorafms:management_and_operation:11_managing_and_administration#editing_a_user_by_my_own_user|Edit my user]]".+You may authenticate with **[[:en:documentation:pandorafms:technical_reference:02_annex_externalapi#ks2_4_1|PFMS API 1.0 Token]]** by sending in the [[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers|HTTP headers]] of a [[https://www.rfc-editor.org/rfc/rfc6750#page-3|bearer token]] generated by each user and for their own private and particular use. See also "[[:en:documentation:pandorafms:management_and_operation:11_managing_and_administration#ks1_1_1|Edit my user]]".
  
 </WRAP> </WRAP>
行 3037: 行 3038:
 <WRAP center round info 90%> <WRAP center round info 90%>
  
-**バージョン 768 以降**: 各ユーザ生成する個別の目的に応じた [[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers|HTTP ヘッダ]] および [[https://www.rfc-editor.org/rfc/rfc6750#page-3|bearer トークン]] を送信することにより、**API トークン** で認証することができます詳細は、"[[:ja:documentation:04_using:11_managing_and_administration#自分自身のユーザ編集|自分自身ユーザ編集]]" を参照してください。+各ユーザが自身のプライベートかつ特定の用途のために生成した bearer トークンの HTTP ヘッダーを送信することで、**[[:ja:documentation:pandorafms:technical_reference:02_annex_externalapi#ks2_4_1|PFMS API 1.0 トークン]]**を使用して認証できます。詳細については、[[https://www.rfc-editor.org/rfc/rfc6750#page-3|bearer トークン]]を参照してください。[[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers|HTTP ヘッダ]]も参照してください。[[:ja:documentation:pandorafms:management_and_operation:11_managing_and_administration#ks1_1_1|ユーザの編集]]参照してください。
  
 </WRAP> </WRAP>
  
-For header authentication with bearer token to work properly, the ''HTTP_AUTHORIZATION=$1'' directive must be included in the ''/etc/httpd/conf.d/php.conf'' file:+For header authentication with bearer token to work properly, the directive ''HTTP_AUTHORIZATION=$1'' must be included in the file ''/etc/httpd/conf.d/php.conf'':
  
 bearer トークンを使用したヘッダー認証が正しく機能するには、''HTTP_AUTHORIZATION=$1'' ディレクティブが ''/etc/httpd/conf.d/php.conf'' ファイルに含まれている必要があります。 bearer トークンを使用したヘッダー認証が正しく機能するには、''HTTP_AUTHORIZATION=$1'' ディレクティブが ''/etc/httpd/conf.d/php.conf'' ファイルに含まれている必要があります。
  
-<code> +<code php>
 # Redirect to local php-fpm if mod_php (5 or 7) is not available # Redirect to local php-fpm if mod_php (5 or 7) is not available
 <IfModule !mod_php5.c> <IfModule !mod_php5.c>
-  <IfModule !mod_php7.c> +   <IfModule !mod_php7.c> 
-    <IfModule !mod_php.c> +     <IfModule !mod_php.c> 
-      # Enable http authorization headers +       # Enable http authorization headers 
-      SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1 +       SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1 
-      <Proxy "unix:/run/php-fpm/www.sock|fcgi://localhost"> +       <Proxy "unix:/run/php-fpm/www.sock|fcgi:localhost"> 
-        ProxySet timeout=1200 +         ProxySet timeout=1200 
-      </Proxy>+       </Proxy>
  
-      <FilesMatch \.(php|phar)$> +       <FilesMatch \.(php|phar)$> 
-        SetHandler "proxy:fcgi://localhost" +         SetHandler "proxy:fcgi:localhost" 
-      </FilesMatch>+       </FilesMatch>
  
-    </IfModule> +     </IfModule> 
-  </IfModule>+   </IfModulee>
 </IfModule> </IfModule>
  
  • ja/documentation/pandorafms/installation/04_configuration.1780730449.txt.gz
  • 最終更新: 2026/06/06 07:20
  • by junichi