| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
| ja:documentation:pandorafms:installation:01_installing [2025/07/12 08:13] – [Linux 用] junichi | ja:documentation:pandorafms:installation:01_installing [2025/12/06 01:59] (現在) – [Pandora FMS エージェントインストール] junichi |
|---|
| {{indexmenu_n>1}} | {{indexmenu_n>1}} |
| |
| [[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] | [[:ja:documentation:pandorafms:start|Pandora FMS ドキュメント一覧に戻る]] |
| |
| ===== Pandora FMS コンソールとサーバのインストール ===== | ===== Pandora FMS コンソールとサーバのインストール ===== |
| Monitoring [[#ks1_7_3|EndPoint]] **are supported for any platform**: | Monitoring [[#ks1_7_3|EndPoint]] **are supported for any platform**: |
| |
| * Microsoft Windows® (all versions from NT4 to 11). | * Microsoft Windows® (all versions from NT4 to 11). |
| * Different Linux distributions (Debian, RedHat, Fedora, Mint, SUSE, etc.). | * Different Linux® distributions (Debian, RedHat, Fedora, Mint, SUSE, etc.). |
| * Unix® (Solaris®, HPUX, AIX, BSD, etc.). | * Unix® (Solaris®, HPUX, AIX, BSD, etc.). |
| * There is also an agent for the Android mobile operating system. | * There is also an agent for the Android® mobile operating system. |
| |
| </WRAP> | </WRAP> |
| |
| * Microsoft Windows® (Windows NT4 から最新の Windows 11 までのすべてのバージョン) | * Microsoft Windows® (Windows NT4 から最新の Windows 11 までのすべてのバージョン) |
| * さまざまな Linux ディストリビューション (Debian、RedHat、Fedora、Centos、Mint、SUSE など) | * さまざまな Linux® ディストリビューション (Debian、RedHat、Fedora、Centos、Mint、SUSE など) |
| * Unix® (Solaris®、HPUX、AIX、BSD など) | * Unix® (Solaris®、HPUX、AIX、BSD など) |
| * Android デバイス用のエージェントもあります。 | * Android® デバイス用のエージェントもあります。 |
| |
| </WRAP> | </WRAP> |
| ==== 最低ソフトウエア要件 ==== | ==== 最低ソフトウエア要件 ==== |
| |
| ^ Software ^ Requirements ^| | ^Software^Requirements^| |
| ^Operating System | RedHat Enterprise (RHEL) 9 \\ Rocky Linux 9 . \\ RedHat Enterprise (RHEL) 8 (**recommended**). \\ Rocky Linux 8. \\ Ubuntu Server 22.04 (version 766 or later): for stand alone nodes only, **Command Center** (Metaconsole) environments must be fully installed on RHEL 8 / Rocky Linux 8 (**recommended**). **In Ubuntu Server 22.04 installations on servers without internet connection are not supported**. \\ **Systemd** is already installed and enabled in the indicated operating systems and it is necessary for the operation of Pandora FMS from version 779 onwards. \\ \\ Each <wrap :en>**LTS (Long Term Support)**</wrap> version of Pandora FMS has support for several OS versions. See the [[https://pandorafms.com/en/policy-support-versions-os/|versions and support conditions in our OS versions support page]]. || | ^Operating System| ܀ RedHat Enterprise (RHEL) 9 (**recommended**) \\ ܀ Rocky Linux 9 \\ ܀ Ubuntu Server 22.04 \\ **Offline installations (servers without internet connection) are not supported on Ubuntu Server**. \\ **Command Center**: It is recommended to avoid installing the Command Center in Ubuntu environments. \\ \\ **Systemd** is already installed and enabled in the indicated operating systems and it is required for Pandora FMS from version 779 onwards to operate. \\ \\ Each Pandora FMS <wrap :en>**LTS (Long Term Support)**</wrap> version supports several OS versions. See the [[https://pandorafms.com/en/policy-support-versions-os/|versions and support conditions in our OS versions support page]].|| |
| | ::: |Windows Server (2003 or higher) SLES 11 SP1 or higher OpenSUSE 11.X or higher Debian 5, 6, 7 or higher Ubuntu Server 21 or higher Ubuntu Desktop FreeBSD 9.X or higher Solaris 10/OpenSolaris |** Pandora FMS does not officially support these platforms.** | | | ::: |Windows Server (2003 or higher) SLES 11 SP1 or higher. OpenSUSE 11.X or higher. Debian 5, 6, 7 or higher. Ubuntu Server 21 or higher. Ubuntu Desktop FreeBSD 9.X or higher. Solaris 10/OpenSolaris.|**Pandora FMS does not officially support these platforms.** | |
| ^Installation permissions |**Server** Pandora FMS Server must be installed as **root** or with **root** permissions (user //sudoer//). In the installation a user called ''pandora'' is created, assigned to the **root** group, which later can be changed, taking into account that you should reconfigure the [[:en:documentation:pandorafms:technical_reference/09_tentacle#ks2|Tentacle server]]. \\ It is also possible to install and run as a non-root user, being a special and different procedure, more information on this [[##installation_with_a_non-privileged_user|link]]. \\ **Console** In order to use the console from any web browser, Apache must have read and execute permissions on the Console files. Additionally, the ''config.php'' file must have ''600'' permissions (read and write for ''administrator/root''). In turn, it is necessary to have write permissions in the server directory: ''/var/spool/pandora/'' **EndPoint** -Linux®: The Pandora FMS Server EndPoint must be executed as permissions as root in order to have all the agent's functionalities, although it is also possible to run it with other permissions. -MS Windows®: The Pandora FMS Server EndPoint must be executed with administrator permissions. || | ^Installation permissions| \\ **Server**: Pandora FMS Server must be installed as **root** or with **root** permissions (user //sudoer//). In the installation, a user called ''pandora'' is created, assigned to the **root** group, which later may be changed, taking into account that you should reconfigure the [[:en:documentation:pandorafms:technical_reference:09_tentacle#ks2|Tentacle server]]. \\ It is also possible to install and run as a non-root user, [[#ks1_10_4|being a special and different procedure]]. \\ **Console:** In order to use the console from any web browser, Apache must have read and execute permissions on Console files. Additionally, file ''config.php'' must have ''600'' permissions (read and write for ''administrator/root''). In turn, write permissions are required in the server directory: ''/var/spool/pandora/'' \\ \\ **EndPoint:** \\ \\ -Linux®: Pandora FMS Server EndPoint must be executed as permissions as root in order to have all the agent's features, although it is also possible to run it with other permissions. \\ \\ -MS Windows®: Pandora FMS Server EndPoint must be executed with admin permissions. \\ || |
| ^Special permissions \\ in security applications |If any security application is in place (EDR, XDR, Antivirus, etc.), the appropriate permissions must be configured to ensure that all processes and files related to Pandora FMS operate normally. \\ \\ For [[:en:documentation:pandorafms:introduction:02_architecture#ks1_1|PFMS server]]: \\ <file>/var/spool/pandora | ^Special permissions \\ in security applications |If any security application is in place (EDR, XDR, Antivirus, etc.), the appropriate permissions must be configured to ensure that all processes and files related to Pandora FMS operate normally. \\ \\ For [[:en:documentation:pandorafms:introduction:02_architecture|PFMS server]]: \\ <file> |
| | /var/spool/pandora |
| /usr/share/pandora_server | /usr/share/pandora_server |
| /etc/pandora | /etc/pandora |
| /usr/bin/clean_pandora_server | /usr/bin/clean_pandora_server |
| /usr/bin/clean_tentacle_serverd | /usr/bin/clean_tentacle_serverd |
| /usr/bin/clean_tentacle_rmm</file> For [[:en:documentation:pandorafms:installation:05_configuration_agents|EndPoints]]: <file>/usr/share/pandora_agent | /usr/bin/clean_tentacle_rmm |
| | </file> \\ For [[:en:documentation:pandorafms:installation:05_configuration_agents|EndPoints]]: <file> |
| | /usr/share/pandora_agent |
| /usr/bin/pandora_agent | /usr/bin/pandora_agent |
| /usr/bin/pandora_agent_exec | /usr/bin/pandora_agent_exec |
| /usr/bin/tentacle_server | /usr/bin/tentacle_server |
| /usr/bin/tentacle_client | /usr/bin/tentacle_client |
| /usr/bin/clean_pandora_agent_daemon</file> For [[:en:documentation:pandorafms:complex_environments_and_optimization:05_satellite|Satellite server]]: <file>/usr/bin/satellite_server | /usr/bin/clean_pandora_agent_daemon |
| | </file> \\ For [[:en:documentation:pandorafms:complex_environments_and_optimization:05_satellite|Satellite server]]: <file> |
| | /usr/bin/satellite_server |
| /etc/pandora | /etc/pandora |
| /var/spool/pandora | /var/spool/pandora |
| /usr/bin/pandorafsnmp | /usr/bin/pandorafsnmp |
| /usr/bin/pandorawmic | /usr/bin/pandorawmic |
| /usr/bin/clean_satellite_serverd</file> It is important to note that for any custom installation, each path must be prefixed with the directory where Pandora FMS is installed.|| | /usr/bin/clean_satellite_serverd |
| ^Console | PHP 8.2 → For versions of Pandora FMS 776 or later. \\ PHP 8 → For versions of Pandora FMS 760 to 775. \\ PHP 7.4 → For Pandora FMS versions 759 to 767. \\ PHP 7.2 → For Pandora FMS versions from 729 to 758. || | </file> \\ It is important to note that for any custom installation, each path must be prefixed with the directory where Pandora FMS is installed. || |
| ^Browsers |Google Chrome®. \\ Mozilla Firefox® \\ Opera web browser®. \\ Microsoft Edge®. || | ^Console|PHP 8.4 → For Pandora FMS 785 or later versions. PHP 8.2 → For Pandora FMS versions 776 to 784. PHP 8 → For Pandora FMS versions 760 to 775. PHP 7.4 → For Pandora FMS versions 759 to 767. PHP 7.2 → For Pandora FMS versions 729 to 758.|| |
| | ::: |Mozilla Firefox® and Google Chrome® are recommended to make use of interactive graphics and network maps. || | ^Browsers|Google Chrome®. Mozilla Firefox® Opera web browser®. Microsoft Edge®.|| |
| | | ::: |Mozilla Firefox® and Google Chrome® are recommended to make use of interactive graphics and network maps.|| |
| |
| ^ソフトウエア ^要件 ^| | ^ソフトウエア ^要件 ^| |
| ^OS| RedHat Enterprise (RHEL) 9 \\ Rocky Linux 9 . \\ RedHat Enterprise (RHEL) 8 (**推奨**) \\ Rocky Linux 8 \\ Ubuntu Server 22.04 (バージョン NG 766 以降): 単一ノードのみ。**コマンドセンター** (メタコンソール) は、RHEL 8 / Rocky Linux 8 (**推奨**) にインストールする必要があります。**Ubuntu Server 22.04 へのインストールではインターネットに接続していない環境には対応していません。** \\ **Systemd** は、指定されたオペレーティングシステムに既にインストールされ有効化されており、Pandora FMS バージョン 779 以降の動作に必要です。\\ \\ Pandora FMS の各 <wrap :en>**LTS (Long Term Support)**</wrap> バージョンは、複数の OS バージョンをサポートしています。[[https://pandorafms.com/en/policy-support-versions-os/|OS バージョンサポートページのバージョンとサポート条件]] をご覧ください。 || | ^OS| ܀ RedHat Enterprise (RHEL) 9 (**推奨**) \\ ܀ Rocky Linux 9 \\ ܀ Ubuntu Server 22.04 \\ **オフラインインストール(インターネット接続のないサーバ)は Ubuntu Server はサポートされていません**。 \\ **コマンドセンター**: Ubuntu 環境にコマンドセンターをインストールしないことを推奨します。 \\ \\ **Systemd** は、指定されたオペレーティングシステムにすでにインストールされ有効化されており、Pandora FMS バージョン 779 以降が動作するには必要です。 \\ \\ 各 Pandora FMS <wrap :ja>**LTS (長期サポート)**</wrap> バージョンは、複数の OS バージョンをサポートしています。[[https://pandorafms.com/en/policy-support-versions-os/|OS バージョンのサポートページでバージョンとサポート条件をご覧ください]]。|| |
| | ::: |Windows Server (2003 以上) \\ SLES 11 SP1 or 以上 \\ OpenSUSE 11.X 以上 \\ Debian 5, 6, 7 以上 \\ Ubuntu Server 21 以前 \\ Ubuntu Desktop \\ FreeBSD 9.X 以上 \\ Solaris 10/OpenSolaris |**Pandora FMS は、これらの環境は公式サポートしていません。** | | | ::: |Windows Server (2003 以上) \\ SLES 11 SP1 or 以上 \\ OpenSUSE 11.X 以上 \\ Debian 5, 6, 7 以上 \\ Ubuntu Server 21 以前 \\ Ubuntu Desktop \\ FreeBSD 9.X 以上 \\ Solaris 10/OpenSolaris |**Pandora FMS は、これらの環境は公式サポートしていません。** | |
| ^インストール権限 |**サーバ**: Pandora FMS サーバは、**root** として、または **root** 権限 (//sudoer//) でインストールする必要があります。インストール時に、''pandora'' というユーザが作成され、**root** グループに割り当てられます。このユーザは、後で [[ja:documentation:pandorafms:technical_reference:09_tentacle#gnu_linux_tentacle_ユーザガイド|Tentacle サーバ]] を再設定する必要がある場合などに変更できます。\\ 非 root ユーザとしてインストールおよび実行することも可能ですが、これに特別な別の手順があります。詳細については、この [[#非特権ユーザでのインストール|リンク]] を参照してください。 \\ **コンソール**: コンソールを任意の Web ブラウザから利用できるようにするには、Apache がコンソールファイルに対する読み出し、実行できる必要があります。 加えて、''config.php'' ファイルは ''600'' パーミッションである必要があります(administrator/root に対する読み書き)。 サーバディレクトリ ''/var/spool/pandora'' への書き込み権限が必要です。 \\ **エンドポイント**: -Linux: エージェントの全機能を利用するためには、Pandora FMS エンドポイントは root 権限で実行する必要があります。ただし、他の権限で実行させることもできます。 -Windows: Pandora FMS エンドポイントは、administrator 権限で実行する必要があります。 || | ^インストール権限 |**サーバ**: Pandora FMS サーバは、**root** として、または **root** 権限 (//sudoer//) でインストールする必要があります。インストール時に、''pandora'' というユーザが作成され、**root** グループに割り当てられます。このユーザは、後で [[ja:documentation:pandorafms:technical_reference:09_tentacle#gnu_linux_tentacle_ユーザガイド|Tentacle サーバ]] を再設定する必要がある場合などに変更できます。\\ 非 root ユーザとしてインストールおよび実行することも可能ですが、これに特別な別の手順があります。詳細については、この [[#非特権ユーザでのインストール|リンク]] を参照してください。 \\ **コンソール**: コンソールを任意の Web ブラウザから利用できるようにするには、Apache がコンソールファイルに対する読み出し、実行できる必要があります。 加えて、''config.php'' ファイルは ''600'' パーミッションである必要があります(administrator/root に対する読み書き)。 サーバディレクトリ ''/var/spool/pandora'' への書き込み権限が必要です。 \\ **エンドポイント**: -Linux: エージェントの全機能を利用するためには、Pandora FMS エンドポイントは root 権限で実行する必要があります。ただし、他の権限で実行させることもできます。 -Windows: Pandora FMS エンドポイントは、administrator 権限で実行する必要があります。 || |
| ^セキュリティアプリケーションにおける特別な権限 \\ |セキュリティアプリケーション(EDR、XDR、ウイルス対策など)が導入されている場合は、Pandora FMS に関連するすべてのプロセスとファイルが正常に動作するように適切な権限を設定する必要があります。 \\ \\ [[:ja:documentation:pandorafms:introduction:02_architecture#ks1_1|PFMS サーバ]]: \\ <file>/var/spool/pandora | ^セキュリティアプリケーションにおける特別な権限 \\ |セキュリティアプリケーション(EDR、XDR、ウイルス対策など)が導入されている場合は、Pandora FMS に関連するすべてのプロセスとファイルが正常に動作するように適切な権限を設定する必要があります。 \\ \\ [[:ja:documentation:pandorafms:introduction:02_architecture|PFMS サーバ]]: \\ <file>/var/spool/pandora |
| /usr/share/pandora_server | /usr/share/pandora_server |
| /etc/pandora | /etc/pandora |
| /usr/bin/clean_pandora_server | /usr/bin/clean_pandora_server |
| /usr/bin/clean_tentacle_serverd | /usr/bin/clean_tentacle_serverd |
| /usr/bin/clean_tentacle_rmm</file> [[:ja:documentation:pandorafms:installation:05_configuration_agents|エンドポイント]]: <file>/usr/share/andora_agent | /usr/bin/clean_tentacle_rmm</file> [[:ja:documentation:pandorafms:installation:05_configuration_agents|エンドポイント]]:<file> |
| | /usr/share/andora_agent |
| /usr/bin/pandora_agent | /usr/bin/pandora_agent |
| /usr/bin/pandora_agent_exec | /usr/bin/pandora_agent_exec |
| /usr/bin/tentacle_server | /usr/bin/tentacle_server |
| /usr/bin/tentacle_client | /usr/bin/tentacle_client |
| /usr/bin/clean_pandora_agent_daemon</file> [[:ja:documentation:pandorafms:complex_environments_and_optimization:05_satellite|サテライトサーバ]]: <file>/usr/bin/satellite_server | /usr/bin/clean_pandora_agent_daemon</file> [[:ja:documentation:pandorafms:complex_environments_and_optimization:05_satellite|サテライトサーバ]]: <file> |
| | /usr/bin/satellite_server |
| /etc/pandora | /etc/pandora |
| /var/spool/pandora | /var/spool/pandora |
| /usr/bin/pandorawmic | /usr/bin/pandorawmic |
| /usr/bin/clean_satellite_serverd</file> カスタムインストールの場合は、各パスの先頭に Pandora FMS がインストールされているディレクトリを付ける必要があることに注意することが重要です。|| | /usr/bin/clean_satellite_serverd</file> カスタムインストールの場合は、各パスの先頭に Pandora FMS がインストールされているディレクトリを付ける必要があることに注意することが重要です。|| |
| ^コンソール | PHP 8.2 → Pandora FMS バージョン 776 以降 \\ PHP 8 → Pandora FMS バージョン 760 から 775 (バージョン 766 から、**デフォルトは** PHP 8) \\ PHP 7.4 → Pandora FMS バージョン 759 から 767 \\ PHP 7.2 → Pandora FMS バージョン 729 から 758 || | ^コンソール | PHP 8.4 → Pandora FMS バージョン 785 以降。 PHP 8.2 → Pandora FMS バージョン 776 ~ 784。 PHP 8 → Pandora FMS バージョン 760 ~ 775。 PHP 7.4 → Pandora FMS バージョン 759 ~ 767。 PHP 7.2 → Pandora FMS バージョン 729 ~ 758。|| |
| ^ブラウザ |Microsoft Edge® \\ Opera web browser® \\ Google Chrome® \\ Mozilla Firefox® || | ^ブラウザ |Microsoft Edge® \\ Opera web browser® \\ Google Chrome® \\ Mozilla Firefox® || |
| | ::: |動的なグラフおよびネットワークマップの利用には、Mozilla Firefox および Google Chrome を推奨します。 || | | ::: |動的なグラフおよびネットワークマップの利用には、Mozilla Firefox および Google Chrome を推奨します。 || |
| ==== データベース要件 ==== | ==== データベース要件 ==== |
| |
| ^BBDD ^Details | | ^DB^Details| |
| ^Percona Server for MySQL® |The installation of **Percona Server for MySQL®** is recommended for large Pandora FMS environments where more than 4000 agents are going to be created. \\ **MySQL® version 8** (Version 760 or later). \\ For the standard installation, a user with creation privileges in the Pandora FMS database is required. If you do not have that user, you can perform a manual installation. | | ^Percona Server for MySQL®|Installing **Percona Server for MySQL®** is recommended for large Pandora FMS environments, where more than 4000 agents will be created. \\ **MySQL® version 8** (Version 760 or later). \\ From Pandora FMS version 785 onwards, MySQL 8.4 is supported. \\ For standard installation, a user with creation privileges in Pandora FMS database is required. If you do not have that user, you may install it manually.| |
| |
| ^データベース ^詳細 | | ^データベース ^詳細 | |
| ^Percona Server for MySQL® |4000 を超えるエージェントが作成される大規模な Pandora FMS 環境では、**Percona Server for MySQL®** のインストールをお勧めします。\\ **MySQL® バージョン 8** (バージョン 760 以降)。\\ 標準インストールでは、Pandora FMS データベースの作成権限を持つユーザが必要です。そのユーザがいない場合は、手動でインストールできます。| | ^Percona Server for MySQL® |4000 を超えるエージェントが作成される大規模な Pandora FMS 環境では、**Percona Server for MySQL®** のインストールをお勧めします。\\ **MySQL® バージョン 8** (バージョン 760 以降)。\\ Pandora FMS バージョン 785 以降では、MySQL 8.4 がサポートされています。\\ 標準インストールでは、Pandora FMS データベースの作成権限を持つユーザが必要です。このユーザがいない場合は、手動でインストールが必要です。| |
| |
| All tests and validations are performed with Percona Server for MySQL® 8 (**recommended option**). Due to the similarities between Percona Server for MySQL® 8 and MySQL® 8 the compatibility between both solutions is complete. | All tests and validations are performed with Percona Server for MySQL® 8 (**recommended option**). Due to the similarities between Percona Server for MySQL® 8 and MySQL® 8, both solutions fully support each other. |
| |
| すべてのテストと検証は、Percona Server for MySQL® 8 (**推奨オプション**) を使用して実行しています。Percona Server for MySQL® 8 と MySQL® 8 は類似しているため、両方のソリューションは完全に互換性があります。 | すべてのテストと検証は、Percona Server for MySQL® 8 (**推奨オプション**) を使用して実行しています。Percona Server for MySQL® 8 と MySQL® 8 は類似しているため、両方のソリューションは完全に互換性があります。 |
| | |
| | <wrap #ks1_5 /> |
| |
| ==== サテライトサーバ要求条件 ==== | ==== サテライトサーバ要求条件 ==== |
| * **PANDORA_AGENT_PACKAGE**: Defines the URL of the RPM package of the Pandora FMS EndPoint that you want to install. By default, the latest available version is defined. | * **PANDORA_AGENT_PACKAGE**: Defines the URL of the RPM package of the Pandora FMS EndPoint that you want to install. By default, the latest available version is defined. |
| * **PANDORA_BETA**: If it is set to ''1'' the packages of the latest available beta version will be installed (only for test environments). By default ''PANDORA_BETA=0'' (if specific packages are defined, this option is ignored). | * **PANDORA_BETA**: If it is set to ''1'' the packages of the latest available beta version will be installed (only for test environments). By default ''PANDORA_BETA=0'' (if specific packages are defined, this option is ignored). |
| * **PANDORA_LTS**: Installs the latest version of Long Term Support (**LTS**), a version with maximum stability that incorporates major bug fixes. By default it is active (PANDORA_LTS=1), if it is set to zero it installs the latest regular version, Regular Rolling Release (**RRR**). | * **PANDORA_LTS**: Installs the latest version of Long Term Support (**LTS**), a version with maximum stability that incorporates major bug fixes. By default it is active (''PANDORA_LTS=1''), if it is set to zero it installs the latest regular version, Feature Release (**FR**). |
| |
| * **TZ**: マシンの [[https://en.wikipedia.org/wiki/Time_zone|タイムゾーン]] を定義します。デフォルトは ''Europe/Madrid'' です。 | * **TZ**: マシンの [[https://en.wikipedia.org/wiki/Time_zone|タイムゾーン]] を定義します。デフォルトは ''Europe/Madrid'' です。 |
| * **PANDORA_AGENT_PACKAGE**: インストールする Pandora FMS エンドポイントの RPM の URL を定義します。 デフォルトでは、最新のバージョンが定義されています。 | * **PANDORA_AGENT_PACKAGE**: インストールする Pandora FMS エンドポイントの RPM の URL を定義します。 デフォルトでは、最新のバージョンが定義されています。 |
| * **PANDORA_BETA**: ''1'' に設定すると、利用可能な最新のベータ版のパッケージがインストールされます(テスト環境のみ)。 デフォルトは、''PANDORA_BETA=0'' です(//特定のパッケージが定義されている場合、このオプションは無視されます//)。 | * **PANDORA_BETA**: ''1'' に設定すると、利用可能な最新のベータ版のパッケージがインストールされます(テスト環境のみ)。 デフォルトは、''PANDORA_BETA=0'' です(//特定のパッケージが定義されている場合、このオプションは無視されます//)。 |
| * **PANDORA_LTS**: 主な不具合修正をした安定版である長期サポート版(LTS)をインストールします。デフォルトでは有効(''PANDORA_LTS=1'') です。ゼロに設定すると、最新の通常のローリングリリース版(RRR)をインストールします。 | * **PANDORA_LTS**: 主な不具合修正をした安定版である長期サポート版(LTS)をインストールします。デフォルトでは有効(''PANDORA_LTS=1'') です。ゼロに設定すると、最新の通常版である機能リリース(**FR**)版をインストールします。 |
| |
| To use these environment variables, it is enough to define them before executing the installation script, **for example**, in an installation in **EL 9** with defined variables, execute the block: | To use these environment variables, it is enough to define them before executing the installation script, **for example**, in an installation in **EL 9** with defined variables, execute the block: |
| これらの環境変数の使用は、インストールスクリプトを実行する前にそれらを定義するだけです。たとえば、変数を定義しての **EL 9** でインストールでは次のように実行します。 | これらの環境変数の使用は、インストールスクリプトを実行する前にそれらを定義するだけです。たとえば、変数を定義しての **EL 9** でインストールでは次のように実行します。 |
| |
| <code> | <code bash> |
| env TZ='Europe/Madrid' \ | env TZ='Europe/Madrid' \ |
| DBHOST='127.0.0.1' \ | DBHOST='127.0.0.1' \ |
| DBNAME='pandora' \ | DBNAME='pandora' \ |
| DBUSER='pandora' \ | DBUSER='pandora' \ |
| DBPASS='Pandor4!' \ | DBPASS='Pandor4!' \ |
| DBPORT='3306' \ | DBPORT='3306' \ |
| DBROOTPASS='Pandor4!' \ | DBROOTPASS='Pandor4!' \ |
| MYVER=80 \ | MYVER=80 \ |
| PHPVER=8 \ | PHPVER=8 \ |
| SKIP_PRECHECK=0 \ | SKIP_PRECHECK=0 \ |
| SKIP_DATABASE_INSTALL=0 \ | SKIP_DATABASE_INSTALL=0 \ |
| SKIP_KERNEL_OPTIMIZATIONS=0 \ | SKIP_KERNEL_OPTIMIZATIONS=0 \ |
| PANDORA_AGENT_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/pandorafms_one_agent_linux_bin-latest.el9.x86_64.rpm" \ | PANDORA_AGENT_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/pandorafms_one_agent_linux_bin-latest.el9.x86_64.rpm" \ |
| PANDORA_BETA=0 \ | PANDORA_BETA=0 \ |
| PANDORA_LTS=1 \ | PANDORA_LTS=1 \ |
| sh -c "$(curl -fsSL < your_link_for_trial >)" | sh -c "$(curl -fsSL <your_link_for_trial>)" |
| </code> | </code> |
| |
| * **POOL_SIZE**: It specifies a memory value to be used, by default it is done automatically. | * **POOL_SIZE**: It specifies a memory value to be used, by default it is done automatically. |
| * **PANDORA_BETA**: If set to ''1'', the packages of the latest beta version available will be installed (only for test environments). By default ''PANDORA_BETA=0''. | * **PANDORA_BETA**: If set to ''1'', the packages of the latest beta version available will be installed (only for test environments). By default ''PANDORA_BETA=0''. |
| * **PANDORA_LTS**: Install the latest Long Term Support (LTS) version, a maximum stability version that incorporates major bug fixes. By default active (''PANDORA_LTS=1''), if set to zero installs the latest Regular Rolling Release (RRR). | * **PANDORA_LTS**: Installs the latest version of Long Term Support (**LTS**), a version with maximum stability that incorporates major bug fixes. By default it is active (''PANDORA_LTS=1''), if it is set to zero it installs the latest regular version, Feature Release (**FR**). |
| |
| * **TZ**: マシンのタイムゾーンを定義します。デフォルトは ''Europe/Madrid'' です。 | * **TZ**: マシンのタイムゾーンを定義します。デフォルトは ''Europe/Madrid'' です。 |
| * **POOL_SIZE**: 使用するメモリ量を指定します。デフォルトでは自動的に行われます。 | * **POOL_SIZE**: 使用するメモリ量を指定します。デフォルトでは自動的に行われます。 |
| * **PANDORA_BETA**: ''1'' に設定すると、利用可能な最新のベータ版のパッケージがインストールされます(テスト環境のみ)。 デフォルトは、''PANDORA_BETA=0'' です(//特定のパッケージが定義されている場合、このオプションは無視されます//)。 | * **PANDORA_BETA**: ''1'' に設定すると、利用可能な最新のベータ版のパッケージがインストールされます(テスト環境のみ)。 デフォルトは、''PANDORA_BETA=0'' です(//特定のパッケージが定義されている場合、このオプションは無視されます//)。 |
| * **PANDORA_LTS**: 主な不具合修正をした安定版である長期サポート版(LTS)をインストールします。デフォルトでは有効(''PANDORA_LTS=1'') です。ゼロに設定すると、最新の通常のローリングリリース版(RRR)をインストールします。 | * **PANDORA_LTS**: 主な不具合修正をした安定版である長期サポート版(LTS)をインストールします。デフォルトでは有効(''PANDORA_LTS=1'') です。ゼロに設定すると、最新の通常版である機能リリース(**FR**)版をインストールします。 |
| |
| To use these environment variables just define them before executing the installation script, for example, in an installation in **Ubuntu Server 22.04** with defined variables, execute the block: | To use these environment variables just define them before executing the installation script, for example, in an installation in **Ubuntu Server 22.04** with defined variables, execute the block: |
| これらの環境変数の使用は、インストールスクリプトを実行する前にそれらを定義するだけです。たとえば、変数を定義しての **Ubuntu Server 22.04** でのインストールでは次のように実行します。 | これらの環境変数の使用は、インストールスクリプトを実行する前にそれらを定義するだけです。たとえば、変数を定義しての **Ubuntu Server 22.04** でのインストールでは次のように実行します。 |
| |
| <code> | <code bash> |
| env TZ='Europe/Madrid' \ | env TZ='Europe/Madrid' \ |
| DBHOST='127.0.0.1' \ | DBHOST='127.0.0.1' \ |
| DBNAME='pandora' \ | DBNAME='pandora' \ |
| DBUSER='pandora' \ | DBUSER='pandora' \ |
| DBPASS='Pandor4!' \ | DBPASS='Pandor4!' \ |
| DBPORT='3306' \ | DBPORT='3306' \ |
| DBROOTPASS='Pandor4!' \ | DBROOTPASS='Pandor4!' \ |
| PHPVER='8.0' \ | PHPVER='8.0' \ |
| SKIP_PRECHECK=0 \ | SKIP_PRECHECK=0 \ |
| SKIP_DATABASE_INSTALL=0 \ | SKIP_DATABASE_INSTALL=0 \ |
| SKIP_KERNEL_OPTIMIZATIONS=0 \ | SKIP_KERNEL_OPTIMIZATIONS=0 \ |
| PANDORA_BETA=0 \ | PANDORA_BETA=0 \ |
| PANDORA_LTS=1 \ | PANDORA_LTS=1 \ |
| bash -c "$(curl -SsL < your_link_for_trial > )" | bash -c "$(curl -SsL <your_link_for_trial>)" |
| </code> | </code> |
| |
| |
| <code> | <code> |
| #default=5 | # default=5 |
| net.ipv4.tcp_syn_retries = 3 | net.ipv4.tcp_syn_retries = 3 |
| </code> | </code> |
| |
| <code> | <code> |
| #default=5 | # default=5 |
| net.ipv4.tcp_synack_retries = 3 | net.ipv4.tcp_synack_retries = 3 |
| </code> | </code> |
| |
| <code> | <code> |
| #default=1024 | # default=1024 |
| net.ipv4.tcp_max_syn_backlog = 65536 | net.ipv4.tcp_max_syn_backlog = 65536 |
| </code> | </code> |
| |
| <code> | <code> |
| #default=124928 | # default=124928 |
| net.core.wmem_max = 8388608 | net.core.wmem_max = 8388608 |
| </code> | </code> |
| |
| <code> | <code> |
| #default=131071 | # default=131071 |
| net.core.rmem_max = 8388608 | net.core.rmem_max = 8388608 |
| </code> | </code> |
| |
| <code> | <code> |
| #default = 128 | # default = 128 |
| net.core.somaxconn = 1024 | net.core.somaxconn = 1024 |
| </code> | </code> |
| |
| <code> | <code> |
| #default = 20480 | # default = 20480 |
| net.core.optmem_max = 81920 | net.core.optmem_max = 81920 |
| </code> | </code> |
| * 上記の手順で作成したユーザにパスワードを割り当てます (**DBPASS**)。 | * 上記の手順で作成したユーザにパスワードを割り当てます (**DBPASS**)。 |
| |
| <WRAP center round important 60%> | <WRAP center round important 90%> |
| |
| To comply with the [[:en:documentation:07_technical_annexes:15_security_architecture#securing_the_mysql_server|Pandora FMS Security Architecture]], use a different password than the default one. | To comply with the [[:en:documentation:pandorafms:cybersecurity:15_security_architecture#ks4_6|Security Architecture]] of Pandora FMS, use a password other than the one established by default. |
| |
| </WRAP> | </WRAP> |
| |
| <WRAP center round important 60%> | <WRAP center round important 90%> |
| [[:ja:documentation:07_technical_annexes:15_security_architecture#mysql_サーバの保護|Pandora FMS セキュリティアーキテクチャ]] に準拠するには、デフォルトのパスワードとは異なるパスワードを使用してください。 | |
| | Pandora FMS の [[:ja:documentation:pandorafms:cybersecurity:15_security_architecture#ks4_6|セキュリティアーキテクチャ]] に準拠するには、デフォルトのパスワードとは異なるパスワードを使用してください。 |
| </WRAP> | </WRAP> |
| |
| * 作成したデータベースに対するすべての権限を、作成したユーザに割り当てます。 | * 作成したデータベースに対するすべての権限を、作成したユーザに割り当てます。 |
| |
| <WRAP center round important 60%> | <WRAP center round important 90%> |
| |
| To comply with the [[:en:documentation:07_technical_annexes:15_security_architecture#securing_the_mysql_server|Pandora FMS Security Architecture]], set **limit the connection** to the IP address or URL of the future PFMS server and to the created user. This will guarantee that, if the passwords are compromised, //they will be useless if they are used from a device different from the PFMS server to be created//. | To comply with the [[:en:documentation:pandorafms:cybersecurity:15_security_architecture#ks4_6|Security Architecture]] of Pandora FMS, establish **limit the connection** to the IP address or URL of the future PFMS server and for the user created. **This will ensure that if the passwords are compromised, they will be useless if used from a device other than the PFMS server to be created**. |
| |
| </WRAP> | </WRAP> |
| |
| <WRAP center round important 60%> | <WRAP center round important 90%> |
| [[:ja:documentation:07_technical_annexes:15_security_architecture#mysql_サーバの保護|Pandora FMS セキュリティ アーキテクチャ]] に準拠するには、将来の Pandora FMS サーバの IP アドレスまたは URL および作成されたユーザに **接続を制限** する設定をします。 これにより、パスワードが危険にさらされた場合、//作成する Pandora FMS サーバとは異なるデバイスからパスワードが使用されても、パスワードが役に立たなくなることが保証されます//。 | |
| | Pandora FMS の [[:ja:documentation:pandorafms:cybersecurity:15_security_architecture#ks4_6|セキュリティアーキテクチャ]] に準拠するには、将来の Pandora FMS サーバの IP アドレスまたは URL および作成されたユーザに **接続を制限** する設定をします。 これにより、パスワードが危険にさらされた場合、**作成する Pandora FMS サーバとは異なるデバイスからパスワードが使用されても、パスワードが役に立たなくなることが保証されます**。 |
| </WRAP> | </WRAP> |
| |
| * オンラインインストールツールで実際のインストールに進みます。 以下に、デフォルト値を使用した簡単な例を示します (**常にデフォルトとは異なるユーザパスワードを使用することを忘れないでください**)。 | * オンラインインストールツールで実際のインストールに進みます。 以下に、デフォルト値を使用した簡単な例を示します (**常にデフォルトとは異なるユーザパスワードを使用することを忘れないでください**)。 |
| |
| <code> | <code bash> |
| env \ | env \ |
| DBHOST='192.168.1.107' \ | DBHOST='192.168.1.107' \ |
| DBPORT='3306' \ | DBPORT='3306' \ |
| SKIP_DATABASE_INSTALL=1 \ | SKIP_DATABASE_INSTALL=1 \ |
| sh -c "$(curl -fsSL https://pfms.me/deploy-pandora-el8)" | sh -c "$(curl -fsSL <your_link_for_trial>)" |
| </code> | </code> |
| |
| |
| スクリプトは、インストールをカスタマイズするための一連の環境変数をサポートしており、そのうちの '''$PANDORA_SERVER_IP''' の 1つだけが必須です。そのため、標準のインストールを 1行で実行するには次のコマンドを実行します。 | スクリプトは、インストールをカスタマイズするための一連の環境変数をサポートしており、そのうちの '''$PANDORA_SERVER_IP''' の 1つだけが必須です。そのため、標準のインストールを 1行で実行するには次のコマンドを実行します。 |
| <code> | |
| export PANDORA_SERVER_IP=<PandoraServer IP or FQDN> && curl -Ls https://pfms.me/agent-deploy | bash | <code bash> |
| | export PANDORA_SERVER_IP=<PandoraServer_IP_or_FQDN> && curl -Ls https://pfms.me/agent-deploy | bash |
| </code> | </code> |
| |
| * **$PANDORA_AGENT_SSL**: これにより、エンドポイントと対応する Pandora FMS サーバ間の通信を暗号化するように設定できます。 デフォルトでは無効 (''no'') です。有効にするには ''yes'' を設定します (これにより、通信を暗号化するための依存ソフトウエアもインストールされます)。 シングルクォートを使用して値を区切ります。以下の例を参照してください。 | * **$PANDORA_AGENT_SSL**: これにより、エンドポイントと対応する Pandora FMS サーバ間の通信を暗号化するように設定できます。 デフォルトでは無効 (''no'') です。有効にするには ''yes'' を設定します (これにより、通信を暗号化するための依存ソフトウエアもインストールされます)。 シングルクォートを使用して値を区切ります。以下の例を参照してください。 |
| |
| <code> | <code bash> |
| env \ | env \ |
| PANDORA_SERVER_IP='192.168.10.245' \ | PANDORA_SERVER_IP='192.168.10.245' \ |
| PANDORA_SECONDARY_GROUPS='VMware,Web' \ | PANDORA_SECONDARY_GROUPS='VMware,Web' \ |
| PANDORA_AGENT_SSL='yes' \ | PANDORA_AGENT_SSL='yes' \ |
| curl -Ls https://pfms.me/agent-deploy | bash | bash -c "$(curl -Ls https://pfms.me/agent-deploy)" |
| </code> | </code> |
| |
| |
| <code powershell> | <code powershell> |
| Invoke-WebRequest -Uri https://firefly.pandorafms.com/pandorafms/LTS/PandoraFMS_One_Agent_Windows-lts.x86_64.exe -OutFile ${env:tmp}\pandora-agent-windows .exe; & ${env:tmp}\pandora-agent-windows.exe /S --ip [PANDORASERVER IP or NAME] --group [GROUPNAME] --remote_config 1 | Invoke-WebRequest -Uri https://firefly.pandorafms.com/pandorafms/LTS/PandoraFMS_One_Agent_Windows-lts.x86_64.exe -OutFile ${env:tmp}\pandora-agent-windows.exe; & ${env:tmp}\pandora-agent-windows.exe /S --ip [PANDORASERVER IP or NAME] --group [GROUPNAME] --remote_config 1 |
| </code> | </code> |
| |
| その後、以下を実行します。 | その後、以下を実行します。 |
| |
| <code> | <code powershell> |
| NET START PandoraFMSAgent | NET START PandoraFMSAgent |
| |
| </code> | </code> |
| |
| 以下のコマンドを実行するだけです。 | 以下のコマンドを実行するだけです。 |
| |
| <code> | <code bash> |
| dnf remove pandorafms_console pandorafms_server | dnf remove pandorafms_console pandorafms_server |
| |
| </code> | </code> |
| |
| バージョン 761 以降をアンインストールする場合: | バージョン 761 以降をアンインストールする場合: |
| |
| <code> | <code bash> |
| dnf remove pandorawmic | dnf remove pandorawmic |
| |
| </code> | </code> |
| |
| MySQL が不要な場合は、以下のコマンドで削除できます。 | MySQL が不要な場合は、以下のコマンドで削除できます。 |
| |
| <code> | <code bash> |
| dnf remove Percona-Server* | dnf remove Percona-Server* |
| |
| </code> | </code> |
| |
| |
| 1. root 権限を取得します。 | 1. root 権限を取得します。 |
| <code> | |
| |
| | <code bash> |
| su - | su - |
| |
| </code> | </code> |
| |
| 2. '/tmp' へコピーし、実行します。 | 2. '/tmp' へコピーし、実行します。 |
| |
| <code> | <code bash> |
| tar xvzf pandorafms_console-X.Y.tar.gz | tar xvzf pandorafms_console-X.Y.tar.gz |
| cd pandora_console | cd pandora_console |
| ./pandora_console_install --install | ./pandora_console_install --install |
| |
| </code> | </code> |
| |
| <WRAP center round tip 90%> | <WRAP center round tip 90%> |
| |
| For the online installation of the Pandora FMS Software Agent, see the section "[[#online_installation_of_pandora_fms_software_agent|Online installation of the Pandora FMS Software Agent]]". | \\ |
| | |
| | For the online installation of the Pandora FMS EndPoint, see the section "[[#ks1_7_3|Online installation of the Pandora FMS EndPoint]]". |
| | |
| | \\ |
| |
| </WRAP> | </WRAP> |
| <WRAP center round tip 90%> | <WRAP center round tip 90%> |
| |
| Pandora FMS ソフトウエアエージェントのオンラインインストールは、"[[#pandora_fms_ソフトウエアエージェントのオンラインインストール|Pandora FMS ソフトウエアエージェントのオンラインインストール]]" を参照してください。 | Pandora FMS エンドポイントのオンラインインストールは、"[[#ks1_7_3|Pandora FMS エンドポイントのオンラインインストール]]" を参照してください。 |
| |
| </WRAP> | </WRAP> |
| |
| * [[:en:documentation:pandorafms:technical_annexes:32_pfms_install_software_agent|Installing PFMS Software Agents]]. | * [[:en:documentation:pandorafms:technical_annexes:32_pfms_install_software_agent|Installing PFMS EndPoint]]. |
| |
| * 詳細は、[[:ja:documentation:pandorafms:technical_annexes:32_pfms_install_software_agent|Pandora FMS ソフトウエアエージェントのインストール]] を参照してください。 | * 詳細は、[[:ja:documentation:pandorafms:technical_annexes:32_pfms_install_software_agent|Pandora FMS エンドポイントのインストール]] を参照してください。 |
| |
| |
| [[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] | [[:ja:documentation:pandorafms:start|Pandora FMS ドキュメント一覧に戻る]] |
| |
| ===== OBSOLETE ===== | ===== OBSOLETE ===== |