ja:documentation:pandorafms:installation:01_installing

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:installation:01_installing [2024/06/27 06:26] – [パッケージインストール] junichija:documentation:pandorafms:installation:01_installing [2025/02/26 02:31] (現在) – [Enterprise サーバのインストール] junichi
行 43: 行 43:
 この表に示している要件は、さまざまなインストールのための最小推奨要件です。これらの推奨値は、80% のモジュールでデータ保存し、平均監視時間が 5分であると仮定して計算しています。これらの推奨要件では、データベースサーバ、Pandoraサーバ、および Pandora コンソールが同一マシンにインストールする環境を想定しています。 この表に示している要件は、さまざまなインストールのための最小推奨要件です。これらの推奨値は、80% のモジュールでデータ保存し、平均監視時間が 5分であると仮定して計算しています。これらの推奨要件では、データベースサーバ、Pandoraサーバ、および Pandora コンソールが同一マシンにインストールする環境を想定しています。
  
-^ Hardware ^ SMALL: Up to 5,000 modules ^ MEDIUM: Up to 15,000 modules ^ LARGE*: Up to 30,000 modules ^ Extra LARGE*: Up to 80,000 modules |+^ Hardware ^ SMALL: Up to 1,000 modules ^ MEDIUM: Up to 10,000 modules ^ LARGE*: Up to 30,000 modules ^ Extra LARGE*: Up to 80,000 modules |
 ^ CPU | 2 cores at 2 GHz | 4 cores at 2.5GHz | 6 cores at 3GHz | 10 cores at 3GHz | ^ CPU | 2 cores at 2 GHz | 4 cores at 2.5GHz | 6 cores at 3GHz | 10 cores at 3GHz |
 ^ RAM | 4GB | 8GB | 16GB | 32GB | ^ RAM | 4GB | 8GB | 16GB | 32GB |
-^ Storage speed | 7200rpm | 15Krpm or SSD | SSD | SSD |+^ Storage speed | 15Krpm or SSD((Minimum recommended speed: 300 MB/s read/write))  | 15Krpm or SSD((Minimum recommended speed: 300 MB/s read/write))  | SSD((Minimum recommended speed: 300 MB/s read/write))  | SSD((Minimum recommended speed: 300 MB/s read/write))  |
 ^ Minimum Space | 40GB minimum 60 GB recommended | 60GB minimum 150 GB recommended | 120GB minimum 250 GB recommended | 250GB minimum 400 GB recommended | ^ Minimum Space | 40GB minimum 60 GB recommended | 60GB minimum 150 GB recommended | 120GB minimum 250 GB recommended | 250GB minimum 400 GB recommended |
  
-^ハードウエア  ^  SMALL: 最大 5,000 モジュール  ^  MEDIUM: 最大 15,000 モジュール  ^  LARGE*: 最大 30,000 モジュール  ^  Extra LARGE*: 最大 80,000 モジュール +^ハードウエア  ^  SMALL: 最大 1,000 モジュール  ^  MEDIUM: 最大 10,000 モジュール  ^  LARGE*: 最大 30,000 モジュール  ^  Extra LARGE*: 最大 80,000 モジュール 
-^CPU  |  2 コア 2 GHz  |  4 コア 2,5 GHz  |  6 コア 3 GHz  |  10 コア 3 GHz  |+^CPU  |  2 コア 2 GHz  |  4 コア 2.5 GHz  |  6 コア 3 GHz  |  10 コア 3 GHz  |
 ^メモリ  |  4 GB  |  8 GB  |  16 GB  |  32 GB  | ^メモリ  |  4 GB  |  8 GB  |  16 GB  |  32 GB  |
-^ハードディスク  |  7200 rpm  |  15K rpm または SSD  |  SSD  |  SSD  |+^ハードディスク  |  15K rpm または SSD((推奨最小速度: 読み取り/書き込み 300 MB/秒)) |  15K rpm または SSD((推奨最小速度: 読み取り/書き込み 300 MB/秒)) |  SSD((推奨最小速度: 読み取り/書き込み 300 MB/秒)) |  SSD((推奨最小速度: 読み取り/書き込み 300 MB/秒)) |
 ^ディスク容量  | 最小 40GB 推奨 60GB | 最小 60GB 推奨 150GB | 最小 120GB 推奨 250GB | 最小 250GB 推奨 400GB | ^ディスク容量  | 最小 40GB 推奨 60GB | 最小 60GB 推奨 150GB | 最小 120GB 推奨 250GB | 最小 250GB 推奨 400GB |
  
行 94: 行 94:
  
 ^ Software ^ Requirements ^| ^ Software ^ Requirements ^|
-^Operating System | RedHat Enterprise (RHEL) 9 \\ Rocky Linux 9 . \\ RedHat Enterprise (RHEL) 8 (**recommended**). \\ Rocky Linux 8. \\ RedHat Enterprise (RHEL) 7.X . \\ 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**) or failing that, RHEL 7. **In Ubuntu Server 22.04 installations on servers without internet connection are not supported.** ||+^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.** ||
 | ::: |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.** |
 ^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#gnu_linux_tentacle_user_s_guide|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/'' **Software Agent** -Linux®: The Pandora FMS Server Software Agent 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 Software Agent must be executed with administrator permissions. || ^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#gnu_linux_tentacle_user_s_guide|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/'' **Software Agent** -Linux®: The Pandora FMS Server Software Agent 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 Software Agent must be executed with administrator permissions. ||
 ^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. || ^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. ||
-^Browsers |Microsoft Edge®. Opera web browser®. Google Chrome®Mozilla Firefox® ||+^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. || | ::: |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 \\ RedHat Enterprise (RHEL) 7.X (Enterprise のみ)  \\ Ubuntu Server 22.04 (バージョン NG 766 以降): **Enterprise 版** では単一ノードのみ。メタコンソールは、RHEL 8 / Rocky Linux 8 (**推奨**) または RHEL 7 にインストールする必要があります。**Ubuntu Server 22.04 へのインストールではインターネットに接続していない環境には対応していません。** ||+^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 へのインストールではインターネットに接続していない環境には対応していません。** ||
 | ::: |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 権限で実行する必要があります。  ||
行 179: 行 179:
 Pandora FMS をインストールする**前に**、動作する MySQL サーバが必要です。 MySQL サーバーと同時に Pandora FMS をインストールする場合は、MySQL を起動して root でアクセスできる設定をする必要があります。 Pandora FMS をインストールする**前に**、動作する MySQL サーバが必要です。 MySQL サーバーと同時に Pandora FMS をインストールする場合は、MySQL を起動して root でアクセスできる設定をする必要があります。
  
-   - Start with **systemd**: ''systemctl start mysql'' (alternatively you can use ''/etc/init.d/mysql start'').+   - Start with **systemd**: ''systemctl start mysql''.
    - Set the password for the admin user **root**: ''mysqladmin password < password >''. This password will be requested throughout the installation process.    - Set the password for the admin user **root**: ''mysqladmin password < password >''. This password will be requested throughout the installation process.
  
-   - **systemd** での起動: ''systemctl start mysql'' (''/etc/init.d/mysql start'' でも可能です)+   - **systemd** での起動: ''systemctl start mysql''
    - 管理者ユーザ **root** のパスワードを設定: ''mysqladmin password < password >'' このパスワードは、インストールプロセス全体を通じて必要です。    - 管理者ユーザ **root** のパスワードを設定: ''mysqladmin password < password >'' このパスワードは、インストールプロセス全体を通じて必要です。
 +
 +<wrap #ks1_8_2 />
  
 === Pandora FMS のインストール順 === === Pandora FMS のインストール順 ===
行 246: 行 248:
 オペレーティングシステムとしては **Red Hat (RHEL)** を推奨しますが、**Rocky Linux**、**AlmaLinux**、**Ubuntu** も公式にサポートされています ([[#最低ソフトウエア要件|最低ソフトウエア要件を参照]])。 オペレーティングシステムとしては **Red Hat (RHEL)** を推奨しますが、**Rocky Linux**、**AlmaLinux**、**Ubuntu** も公式にサポートされています ([[#最低ソフトウエア要件|最低ソフトウエア要件を参照]])。
  
-The minimum hardware requirements for this installation are: 1 core, 2 gigabytes of RAM and 20 gigabytes of free disk space, preferably a Solid State Drive (SSD).+To properly size the monitoring environment we recommend going to the [[#ks1_2|section of minimum hardware requirements]].
  
-ンストールの最小ハードウェア要件は、1コア、2ギガバイトの RAM、よび 20ギガバイトの空きディスクで、できれば SSD です。+監視環境のサズを適切に決定するには、[[#ks1_2|最小ハードウェア要件のセクション]] を参照することを勧めします。
  
-These requirements are the minimum installation requirements, to properly size the monitoring environment we recommend going to the [[#ks1_2|section of minimum hardware requirements]]. +<wrap #ks1_9_1_1 />
- +
-これらの要件は最小インストール要件です。監視環境のサイズを適切に設定するには、[[#ks1_2|必要最低ハードウエアスペック]] を確認することをお勧めします。+
  
 == オンラインインストールツールを利用する場合の要件 == == オンラインインストールツールを利用する場合の要件 ==
行 313: 行 313:
  
 == RHEL および Rocky Linux 向けのカスタムパラメータ == == RHEL および Rocky Linux 向けのカスタムパラメータ ==
 +
 +<WRAP center round info 90%>
 +
 +\\ 
 +
 +This tool can be requested [[https://pandorafms.com/en/free-trial/|through from this link]] for get a free trial (demo).
 +
 +\\ 
 +
 +</WRAP>
 +
 +<WRAP center round info 90%>
 +
 +\\ 
 +
 +このツールは、[[https://pandorafms.com/en/free-trial/|こちらのリンクから]]リクエストして無料トライアルを受けることができます。
 +
 +\\ 
 +
 +</WRAP>
  
   * **TZ**: Defines the [[https://en.wikipedia.org/wiki/Time_zone|time zone]] of the machine, default is ''Europe/Madrid''.   * **TZ**: Defines the [[https://en.wikipedia.org/wiki/Time_zone|time zone]] of the machine, default is ''Europe/Madrid''.
行 350: 行 370:
   * **PANDORA_LTS**: 主な不具合修正をした安定版である長期サポート版(LTS)をインストールします。デフォルトでは有効(''PANDORA_LTS=1'') です。ゼロに設定すると、最新の通常のローリングリリース版(RRR)をインストールします。   * **PANDORA_LTS**: 主な不具合修正をした安定版である長期サポート版(LTS)をインストールします。デフォルトでは有効(''PANDORA_LTS=1'') です。ゼロに設定すると、最新の通常のローリングリリース版(RRR)をインストールします。
  
-To use these environment variables just define them before executing the installation script, for example, in an installation in **RHEL 8**  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:
  
-これらの環境変数の使用は、インストールスクリプトを実行する前にそれらを定義するだけです。たとえば、変数を定義しての **RHEL 8**  でインストールでは次のように実行します。+これらの環境変数の使用は、インストールスクリプトを実行する前にそれらを定義するだけです。たとえば、変数を定義しての **EL 9**  でインストールでは次のように実行します。
  
 <code> <code>
行 367: 行 387:
   SKIP_DATABASE_INSTALL=0 \   SKIP_DATABASE_INSTALL=0 \
   SKIP_KERNEL_OPTIMIZATIONS=0 \   SKIP_KERNEL_OPTIMIZATIONS=0 \
-  PANDORA_SERVER_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/RHEL_CentOS/pandorafms_server-7.0NG.noarch.rpm"+ PANDORA_AGENT_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/pandorafms_one_agent_linux_bin-latest.el9.x86_64.rpm" \
-  PANDORA_CONSOLE_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/RHEL_CentOS/pandorafms_console-7.0NG.noarch.rpm"+
-  PANDORA_AGENT_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/RHEL_CentOS/pandorafms_agent_linux-7.0NG.noarch.rpm" \+
   PANDORA_BETA=0 \   PANDORA_BETA=0 \
   PANDORA_LTS=1 \   PANDORA_LTS=1 \
行 375: 行 393:
  
 </code> </code>
 +
 +<wrap #ks1_9_1_4 />
  
 == Ubuntu Server 向けのカスタムパラメータ == == Ubuntu Server 向けのカスタムパラメータ ==
行 682: 行 702:
   * **powershell** がインストールされている   * **powershell** がインストールされている
  
-Execute the following commands in a terminal window with Powershell and with administrator permissions:+Run the following commands in a terminal window with PowerShell and with administrator permissions (**administrator**):
  
 Powershell と administrator 権限を使用して、ターミナルウィンドウで次のコマンドを実行します。 Powershell と administrator 権限を使用して、ターミナルウィンドウで次のコマンドを実行します。
  
-<code> +<code powershell
-Invoke-WebRequest -Uri https://firefly.pandorafms.com/pandorafms/latest/Windows/Pandora%20FMS%20Windows%20Agent%20v7.0NG.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>
行 700: 行 720:
 </code> </code>
  
 +<wrap #ks1_10 />
  
 ==== パッケージインストール ==== ==== パッケージインストール ====
行 727: 行 748:
  
  
-=== RHEL 7/8 でのパッケージインストール === 
- 
-The installation of Pandora FMS in RHEL 7 and RHEL 8 systems is an Enterprise service. You can check how to install these systems by contacting your trusted salesperson or by filling out the following [[https://pandorafms.com/en/contact/|contact form.]] 
- 
-RHEL7 および RHEL8 システムへの Pandora FMS のインストールは、エンタープライズサービスです。 これらのシステムへのインストール方法については、信頼できるベンダに相談するか、[[https://pandorafms.com/ja/contact/|お問い合わせフォーム]] からお問合せください。 
- 
-==== Docker 環境へのインストール ==== 
- 
-<WRAP center round tip 60%> 
- 
-This resource is only intended for test, learning and even pre-production environments. 
- 
-</WRAP> 
- 
-<WRAP center round tip 60%> 
- 
-これは、テスト、学習、さらには実稼働前の環境のみを対象としています。 
- 
-</WRAP> 
- 
-We have an entry on the Docker Hub website that explains step by step how to mount a Pandora FMS stack, currently based on **Rocky Linux™ 8**, at the following link: 
- 
-Docker Hub Web サイトに、Pandora FMS スタックを構築する方法を段階的に説明するエントリがあります。現在は **Rocky Linux™ 8** に基づいています。 
- 
-<WRAP center round box 90%> 
- 
-[[https://hub.docker.com/r/pandorafms/pandorafms-open-stack-el8|https://hub.docker.com/r/pandorafms/pandorafms-open-stack-el8]] 
- 
-</WRAP> 
- 
-Installation via a ''yaml'' file is also possible, as a quick installation method. The following explains how to perform this deployment using ''docker-compose''. 
- 
-クイックインストールの方法として、''yaml'' ファイルを使用してインストールすることもできます。 以下では、 ''docker-compose'' を介してこのデプロイを実行する方法について説明します。 
- 
-First, you need to have **Docker** and **Docker Compose** installed on your system. You can check how to install through the official Docker documentation: 
- 
-最初に、システムに **Docker** と **Docker Compose** をインストールしておく必要があります。以下の公式インストールドキュメントを参照してください。 
- 
-<WRAP center round box 90%> 
- 
-[[https://docs.docker.com/get-docker/|https://docs.docker.com/get-docker/]] 
- 
-</WRAP> 
- 
-Once installed, use the ''yaml'' file from the official Pandora FMS repository: 
- 
-インストールしたら、公式の Pandora FMS リポジトリにある ''yaml'' ファイルを使用します。 
- 
-<code> 
- 
-mkdir $HOME/pandorafms; cd $HOME/pandorafms 
-wget https://raw.githubusercontent.com/pandorafms/pandorafms/develop/extras/docker/centos8/docker-compose.yml 
-docker-compose -f $HOME/pandorafms/docker-compose.yml up 
- 
-</code> 
- 
-Wait a few seconds for the download and environment setup. Once finished, you will be able to access the Pandora FMS console through the URL: 
- 
-ダウンロードと環境の設定のために数秒待ちます。完了したら、以下の URL から Pandora FMS コンソールにアクセスできます。 
- 
-<code> 
-http://127.0.0.1:8080/pandora_console 
- 
-</code> 
- 
-<WRAP center round info 90%>Use ''admin'' as username and ''pandora'' as password.</WRAP> 
- 
-<WRAP center round info 60%>ユーザとして ''admin''、パスワードとして ''pandora'' を使用してください。</WRAP> 
  
  
 ==== Pandora FMS のアンインストール ==== ==== Pandora FMS のアンインストール ====
  
-=== CentOS または RHEL での Pandora FMS のアンインストール ===+=== RHEL での Pandora FMS のアンインストール ===
  
 以下のコマンドを実行するだけです。 以下のコマンドを実行するだけです。
  
 <code> <code>
-yum remove pandorafms_console pandorafms_server+dnf remove pandorafms_console pandorafms_server
  
 </code> </code>
行 813: 行 766:
  
 <code> <code>
-yum remove pandorawmic+dnf remove pandorawmic
  
 </code> </code>
行 822: 行 775:
  
 <code> <code>
-yum remove Percona-Server*+dnf remove Percona-Server*
  
 </code> </code>
 +
 +<wrap #ks1_12 />
  
 ==== カスタムインストール ==== ==== カスタムインストール ====
行 832: 行 787:
 It will be necessary to install all dependencies installed depending of the OS, and then download the files in **tarball**  format (''.tar.gz'',''.tgz''  or ''.tar.bz2'') and unzip them. To do it, locate the latest version of Pandora FMS and download the files from here: It will be necessary to install all dependencies installed depending of the OS, and then download the files in **tarball**  format (''.tar.gz'',''.tgz''  or ''.tar.bz2'') and unzip them. To do it, locate the latest version of Pandora FMS and download the files from here:
  
-OS に応じてすべての依存ファイルをインストールしてから、**tarball** 形式のファイル(.tar.gz、tgz、または .tar.bz2)をダウンロードして解凍する必要があります。 それには、以下から Pandora FMS の最新バージョンを見つけてダウンロードします。+OS に応じてすべての依存ファイルをインストールしてから、**tarball** 形式のファイル(''.tar.gz''''tgz''、または ''.tar.bz2'')をダウンロードして解凍する必要があります。 それには、以下から Pandora FMS の最新バージョンを見つけてダウンロードします。
  
 <WRAP center round download 60%> <WRAP center round download 60%>
行 888: 行 843:
 依存関係に関連する問題が発生した場合は、インストールを試みる前にそれらを修正してください。インストールを強制して依存関係の問題を無視することは可能かもしれませんが、その場合、Pandora FMS は正しく機能しません。 依存関係に関連する問題が発生した場合は、インストールを試みる前にそれらを修正してください。インストールを強制して依存関係の問題を無視することは可能かもしれませんが、その場合、Pandora FMS は正しく機能しません。
  
-== サーバの手動インストール(ソースコードから) == 
- 
-一般的なインストールスクリプトの代わりに、システムの perl インタープリターを介して Pandora FMS コードを "コンパイル" することができます。 このプロセスは、最小限のライブラリと実行可能ファイルをインストールするだけで、起動スクリプト、メンテナンススクリプト、設定、またはアプリケーションとそのライブラリに厳密に関係するその他のものを変更することはありません。この処理は、サーバコードを更新する必要がある場合で、設定を上書きしたくない場合にお勧めします。 
- 
-これを正しく実行するには、前述と同じようにサーバのファイルを /tmp へ展開します。 
- 
-1. root 権限を取得します。 
- 
-<code> 
-su - 
- 
-</code> 
- 
-2. '/tmp' へコピーし、実行します。 
- 
-<code> 
-tar xvzf pandorafms_server-X.Y.tar.gz 
-cd pandora_server 
-perl Makefile.PL 
-make 
-make install 
- 
-</code> 
- 
-依存関係が欠落している場合、または別の問題がある場合、システムは警告を表示します。次のようなメッセージが表示された場合、 
- 
-<code> 
-Warning: prerequisiete Mail::Sendmail 0 not found 
-Warning: prerequisiete Net::Traceroute::PurePerl 0 not found 
- 
-</code> 
- 
-これは、Pandora FMS に必要な Perl パッケージがいくつかシステムにインストールされていないことを意味します。前述の章を確認して、Pandora FMS をインストールできるようにするために必要な依存ファイルをインストールする方法を確認してください。ただし、これらの警告を一時的に無視して(そのため、エラーではなく警告です)、強制的にインストールすることができます。しかし、機能するために必要なコンポーネントが不足しているため、いつかは必ず問題が発生します。 ただし、インストールされていないコンポーネントが使用されないことがわかっている場合(たとえば、traceroute が Pandora FMS 自動検出サーバ専用に使用されている場合など)、問題なく続行できます。 
- 
-この処理を実行すると、以下のファイルが自動的にコピーされます。 
- 
-<code> 
-/usr/local/bin/pandora_server 
-/usr/local/bin/pandora_exec 
- 
-</code> 
- 
-Pandora FMS が必要とする .pmファイル(Perl ライブラりに関する補足です。 .pm ライブラリは、ディストリビューションとそのバージョンに応じて、異なるディレクトリにコピーされます。例: 
- 
-<code> 
-/usr/local/share/perl/5.10.0/PandoraFMS/ 
- 
-</code> 
- 
-<code> 
-/usr/lib/perl5/site_perl/5.10.0/PandoraFMS/ 
- 
-</code> 
  
 === Enterprise 版のインストール === === Enterprise 版のインストール ===
行 1020: 行 922:
  
 <code> <code>
-/etc/init.d/pandora_server restart+systemctl restart pandora_server
  
 </code> </code>
行 2937: 行 2839:
  
 **オープンソース**  版は、利用にライセンスキーは不要です。 **オープンソース**  版は、利用にライセンスキーは不要です。
 +
 +==== Docker 環境へのインストール ====
 +
 +<WRAP center round tip 60%>
 +
 +This resource is only intended for test, learning and even pre-production environments.
 +
 +</WRAP>
 +
 +<WRAP center round tip 60%>
 +
 +これは、テスト、学習、さらには実稼働前の環境のみを対象としています。
 +
 +</WRAP>
 +
 +We have an entry on the Docker Hub website that explains step by step how to mount a Pandora FMS stack, currently based on **Rocky Linux™ 8**, at the following link:
 +
 +Docker Hub Web サイトに、Pandora FMS スタックを構築する方法を段階的に説明するエントリがあります。現在は **Rocky Linux™ 8** に基づいています。
 +
 +<WRAP center round box 90%>
 +
 +[[https://hub.docker.com/r/pandorafms/pandorafms-open-stack-el8|https://hub.docker.com/r/pandorafms/pandorafms-open-stack-el8]]
 +
 +</WRAP>
 +
 +Installation via a ''yaml'' file is also possible, as a quick installation method. The following explains how to perform this deployment using ''docker-compose''.
 +
 +クイックインストールの方法として、''yaml'' ファイルを使用してインストールすることもできます。 以下では、 ''docker-compose'' を介してこのデプロイを実行する方法について説明します。
 +
 +First, you need to have **Docker** and **Docker Compose** installed on your system. You can check how to install through the official Docker documentation:
 +
 +最初に、システムに **Docker** と **Docker Compose** をインストールしておく必要があります。以下の公式インストールドキュメントを参照してください。
 +
 +<WRAP center round box 90%>
 +
 +[[https://docs.docker.com/get-docker/|https://docs.docker.com/get-docker/]]
 +
 +</WRAP>
 +
 +Once installed, use the ''yaml'' file from the official Pandora FMS repository:
 +
 +インストールしたら、公式の Pandora FMS リポジトリにある ''yaml'' ファイルを使用します。
 +
 +<code>
 +
 +mkdir $HOME/pandorafms; cd $HOME/pandorafms
 +wget https://raw.githubusercontent.com/pandorafms/pandorafms/develop/extras/docker/centos8/docker-compose.yml
 +docker-compose -f $HOME/pandorafms/docker-compose.yml up
 +
 +</code>
 +
 +Wait a few seconds for the download and environment setup. Once finished, you will be able to access the Pandora FMS console through the URL:
 +
 +ダウンロードと環境の設定のために数秒待ちます。完了したら、以下の URL から Pandora FMS コンソールにアクセスできます。
 +
 +<code>
 +http://127.0.0.1:8080/pandora_console
 +
 +</code>
 +
 +<WRAP center round info 90%>Use ''admin'' as username and ''pandora'' as password.</WRAP>
 +
 +<WRAP center round info 60%>ユーザとして ''admin''、パスワードとして ''pandora'' を使用してください。</WRAP>
 +
 +
 +== サーバの手動インストール(ソースコードから) ==
 +
 +一般的なインストールスクリプトの代わりに、システムの perl インタープリターを介して Pandora FMS コードを "コンパイル" することができます。 このプロセスは、最小限のライブラリと実行可能ファイルをインストールするだけで、起動スクリプト、メンテナンススクリプト、設定、またはアプリケーションとそのライブラリに厳密に関係するその他のものを変更することはありません。この処理は、サーバコードを更新する必要がある場合で、設定を上書きしたくない場合にお勧めします。
 +
 +これを正しく実行するには、前述と同じようにサーバのファイルを /tmp へ展開します。
 +
 +1. root 権限を取得します。
 +
 +<code>
 +su -
 +
 +</code>
 +
 +2. '/tmp' へコピーし、実行します。
 +
 +<code>
 +tar xvzf pandorafms_server-X.Y.tar.gz
 +cd pandora_server
 +perl Makefile.PL
 +make
 +make install
 +
 +</code>
 +
 +依存関係が欠落している場合、または別の問題がある場合、システムは警告を表示します。次のようなメッセージが表示された場合、
 +
 +<code>
 +Warning: prerequisiete Mail::Sendmail 0 not found
 +Warning: prerequisiete Net::Traceroute::PurePerl 0 not found
 +
 +</code>
 +
 +これは、Pandora FMS に必要な Perl パッケージがいくつかシステムにインストールされていないことを意味します。前述の章を確認して、Pandora FMS をインストールできるようにするために必要な依存ファイルをインストールする方法を確認してください。ただし、これらの警告を一時的に無視して(そのため、エラーではなく警告です)、強制的にインストールすることができます。しかし、機能するために必要なコンポーネントが不足しているため、いつかは必ず問題が発生します。 ただし、インストールされていないコンポーネントが使用されないことがわかっている場合(たとえば、traceroute が Pandora FMS 自動検出サーバ専用に使用されている場合など)、問題なく続行できます。
 +
 +この処理を実行すると、以下のファイルが自動的にコピーされます。
 +
 +<code>
 +/usr/local/bin/pandora_server
 +/usr/local/bin/pandora_exec
 +
 +</code>
 +
 +Pandora FMS が必要とする .pmファイル(Perl ライブラりに関する補足です。 .pm ライブラリは、ディストリビューションとそのバージョンに応じて、異なるディレクトリにコピーされます。例:
 +
 +<code>
 +/usr/local/share/perl/5.10.0/PandoraFMS/
 +
 +</code>
 +
 +<code>
 +/usr/lib/perl5/site_perl/5.10.0/PandoraFMS/
 +
 +</code>
 +
  
  • ja/documentation/pandorafms/installation/01_installing.1719469597.txt.gz
  • 最終更新: 2024/06/27 06:26
  • by junichi