| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
| ja:documentation:pandorafms:installation:01_installing [2026/08/28 23:10] – [最低ソフトウエア要件] junichi | ja:documentation:pandorafms:installation:01_installing [2026/08/28 23:20] (現在) – [パッケージインストール] junichi |
|---|
| * **PANDORA_LTS**: 主な不具合修正をした安定版である長期サポート版(LTS)をインストールします。デフォルトでは有効(''PANDORA_LTS=1'') です。ゼロに設定すると、最新の通常版である機能リリース(**FR**)版をインストールします。 | * **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 10** with defined variables, execute the block: |
| |
| これらの環境変数の使用は、インストールスクリプトを実行する前にそれらを定義するだけです。たとえば、変数を定義しての **EL 9** でインストールでは次のように実行します。 | これらの環境変数の使用は、インストールスクリプトを実行する前にそれらを定義するだけです。たとえば、変数を定義しての **EL 10** でインストールでは次のように実行します。 |
| |
| <code bash> | <code bash> |
| | URL="https://marketplace.pandorafms.com/pandorafms/latest/" |
| | PACKET="pandorafms_one_agent_linux_bin-latest.el10.x86_64.rpm" |
| env TZ='Europe/Madrid' \ | env TZ='Europe/Madrid' \ |
| DBHOST='127.0.0.1' \ | DBHOST='127.0.0.1' \ |
| 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=$URL$PACKAGE \ |
| PANDORA_BETA=0 \ | PANDORA_BETA=0 \ |
| PANDORA_LTS=1 \ | PANDORA_LTS=1 \ |
| == Linux 用 == | == Linux 用 == |
| |
| **Requirements for the use of the online installation tool.** | EndPoint installer for Linux. Always installs from a tarball (never from an RPM), validates the downloaded tarball is a real Pandora FMS EndPoint and configures the agent to report to a Pandora FMS Server. |
| |
| **オンラインインストールツール利用の必要条件** | Linux 用エンドポイントインストーラー。常に tarball からインストールを行い(RPM は使用しません)、ダウンロードした tarball が正規の Pandora FMS エンドポイントであることを検証した上で、Pandora FMS サーバへ報告を行うようにエージェントを設定します。 |
| |
| * Internet access. | * **Script**: ''../pandora_agent_deploy.sh'' |
| * Have **curl** installed (comes by default in most distributions) | * **Scope**: Pulls from ''packages.pandorafms.com''. |
| * Be an administrator user **root**. | * **Supported OS**: RHEL/Fedora (EL7/8/9/10), SUSE/OpenSUSE, Debian/Ubuntu. |
| * To have a compatible OS. | * **Supported arch**: ''x86_64'' (binary agents). ''x86'', ''armv7l'', ''aarch64'' auto-switch to ''PERL_SOURCES'' (source build). Other archs abort. |
| |
| * インターネットアクセス | * **スクリプト**: ''../pandora_agent_deploy.sh'' |
| * **curl** がインストールされていること(ほとんどのディストリビューションでデフォルトで提供されます) | * **取得元**: ''packages.pandorafms.com'' から取得します。 |
| * 管理者ユーザ **root** 権限 | * **対応OS**: RHEL/Fedora (EL7/8/9/10)、SUSE/OpenSUSE、Debian/Ubuntu。 |
| * 対応 OS であること | * **対応アーキテクチャ**: ''x86_64'' はバイナリ形式のエージェントを使用します。''x86''、''armv7l''、''aarch64'' は自動的に `PERL_SOURCES`(ソースビルド)に切り替わります。その他のアーキテクチャでは処理が中断されます。 |
| |
| スクリプトは、インストールをカスタマイズするための一連の環境変数をサポートしており、そのうちの '''$PANDORA_SERVER_IP''' の 1つだけが必須です。そのため、標準のインストールを 1行で実行するには次のコマンドを実行します。 | * **Quick start**: |
| |
| <code bash> | * **クイックスタート**: |
| export PANDORA_SERVER_IP=<PandoraServer_IP_or_FQDN> && curl -Ls https://pfms.me/agent-deploy | bash | |
| </code> | |
| |
| <WRAP center round info 90%> | Minimal install (GO agent, stable channel): |
| |
| These environment variables are used only in the installation process, they can be destroyed or changed after the installation without altering the behavior of the Pandora FMS EndPoint. | 最小構成のインストール (GO エージェント、安定版チャネル): |
| |
| </WRAP> | <code bash> |
| | export PANDORA_SERVER_IP='10.0.0.1' |
| | curl -sSL https://pfms.me/agent-deploy | bash |
| | </code> |
| |
| <WRAP center round info 90%> | Fully automated (no prompts): |
| |
| この環境変数は、インストールプロセスにのみ使用されます。Pandora FMS エンドポイントの動作には影響なく、インストール後に破棄または変更できます。 | 完全自動(プロンプトなし): |
| | |
| </WRAP> | |
| | |
| オプションで利用できるその他の環境変数は次の通りです。 | |
| | |
| * ''$PANDORA_REMOTE_CONFIG'': Enable remote configuration from the Web Console. Zero ( ''0'' ) by default, disabled. | |
| * ''$PANDORA_AGENT_NAME'': Sets the name of the agent. Autogenerated by default. | |
| * ''$PANDORA_AGENT_ALIAS'': Configures the alias of the EndPoint. By default the hostname. | |
| * ''$PANDORA_GROUP'': Sets the group of EndPoint. By default ''Servers''. | |
| * ''$PANDORA_SECONDARY_GROUPS'': Configures the secondary groups of the EndPoint. empty by default | |
| * ''$PANDORA_DEBUG'': Configure the debug setting. Zero ( ''0'' ) by default, disabled. | |
| * ''$TIMEZONE'' : Sets the system time zone. | |
| * ''$PANDORA_AGENT_SSL'': Allows you to configure encrypted communications between the EndPoint and the corresponding PFMS server. By default not enabled (''no''), to enable it use ''yes'' (this will also install software dependencies to encrypt such communications). Use single quotes to delimit the value: | |
| | |
| * **$PANDORA_REMOTE_CONFIG**: リモート設定の指定です。''0'' (無効)がデフォルトです。 | |
| * **$PANDORA_AGENT_NAME**: エージェント名の設定です。自動生成がデフォルトです。 | |
| * **$PANDORA_AGENT_ALIAS**: エンドポイントの別名設定です。ホスト名がデフォルトです。 | |
| * **$PANDORA_GROUP**: エンドポイントのグループの設定です。''Servers'' がデフォルトです。 | |
| * **$PANDORA_SECONDARY_GROUPS**: エンドポイントのセカンダリグループの設定です。空がデフォルトです。 | |
| * **$PANDORA_DEBUG**: デバッグ設定です。''0'' (無効)がデフォルトです。 | |
| * **$TIMEZONE** : システムのタイムゾーンの設定です。 | |
| * **$PANDORA_AGENT_SSL**: これにより、エンドポイントと対応する Pandora FMS サーバ間の通信を暗号化するように設定できます。 デフォルトでは無効 (''no'') です。有効にするには ''yes'' を設定します (これにより、通信を暗号化するための依存ソフトウエアもインストールされます)。 シングルクォートを使用して値を区切ります。以下の例を参照してください。 | |
| |
| <code bash> | <code bash> |
| env \ | export PANDORA_SERVER_IP='10.0.0.1' \ |
| PANDORA_SERVER_IP='192.168.10.245' \ | PANDORA_AGENT_PACKAGE=GO \ |
| PANDORA_REMOTE_CONFIG=1 \ | PANDORA_AGENT_RELEASE=STABLE \ |
| PANDORA_AGENT_NAME='pandora_agent_name' \ | PANDORA_SKIP_CONFIRMATION=1 |
| PANDORA_AGENT_ALIAS='pandora_AGENT_ALIAS' \ | curl -sSL https://pfms.me/agent-deploy | bash |
| PANDORA_GROUP='Servers' \ | |
| PANDORA_SECONDARY_GROUPS='VMware,Web' \ | |
| PANDORA_AGENT_SSL='yes' \ | |
| bash -c "$(curl -Ls https://pfms.me/agent-deploy)" | |
| </code> | </code> |
| |
| <WRAP center round info 90%> | <WRAP center round tip 90%> |
| |
| Keep in mind that in order to encrypt communications through the Tentacle protocol between the EndPoints and their respective PFMS servers, it will be necessary to previously have SSL certificates and keys. Visit the section "[[:en:documentation:pandorafms:technical_reference:09_tentacle#ks6|Communication encryption]]" in the Tentacle protocol technical reference. | See full details at "[[:en:documentation:pandorafms:technical_annexes:pandora_fms_endpoint_deploy_script|Pandora FMS EndPoint Deploy Script]]". |
| |
| </WRAP> | </WRAP> |
| |
| <WRAP center round info 90%> | <WRAP center round tip 90%> |
| |
| エンドポイントと対応する Pandora FMS サーバ間の Tentacle プロトコルを介した通信を暗号化するには、SSL 証明書と鍵が必要であることに注意してください。 Tentacle プロトコルテクニカルリファレンスの「[[:ja:documentation:pandorafms:technical_reference:09_tentacle#通信の暗号化|通信の暗号化]]」の章も参照してください。 | 詳細については、「[[:ja:documentation:pandorafms:technical_annexes:pandora_fms_endpoint_deploy_script|Pandora FMS エンドポイントデプロイスクリプト]]」を参照してください。 |
| |
| </WRAP> | </WRAP> |
| |
| <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://marketplace.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> |
| |
| |
| <wrap #ks1_8 /> | <wrap #ks1_8 /> |
| |
| ==== パッケージインストール ==== | |
| |
| <WRAP center round info 90%> | |
| |
| This section is referential as it saves time and effort [[#ks1_9|when using the online installation tool]]. **It is strongly recommended to use this option to install the PFMS server**. | |
| |
| </WRAP> | |
| |
| <WRAP center round info 90%> | |
| |
| この章は、[[#オンラインインストールツール|オンラインインストールツール]]を利用する際の理解を助けるためのリファレンスです。**Pandora FMS サーバをインストールするにはこのオプションを利用することを強くお勧めします。** | |
| |
| </WRAP> | |
| |
| |
| * ** [[:en:documentation:pandorafms:technical_annexes:30_pfms_install_latest_ubuntu_server|Pandora FMS installation guide on Ubuntu server]]**. | |
| * ** [[:en:documentation:pandorafms:technical_annexes:31_pfms_install_latest_rocky_linux|Pandora FMS installation guide on Rocky Linux]]**. | |
| * [[:en:documentation:pandorafms:technical_annexes:42_pfms_open_install_ubuntu|Pandora FMS Open Source installation on Ubuntu server]]. | |
| * [[:en:documentation:pandorafms:technical_annexes:40_pfms_open_install_rocky_linux|Pandora FMS Open Source installation on Rocky Linux]]. | |
| |
| * **[[:ja:documentation:pandorafms:technical_annexes:30_pfms_install_latest_ubuntu_server|Ubuntu server への Pandora FMS インストールガイド]]** | |
| * **[[:ja:documentation:pandorafms:technical_annexes:31_pfms_install_latest_rocky_linux|Rocky Linux への Pandora FMS インストールガイド]]** | |
| * [[:ja:documentation:pandorafms:technical_annexes:42_pfms_open_install_ubuntu|Ubuntu への Pandora FMS オープンソース版のインストール]] | |
| * [[:ja:documentation:pandorafms:technical_annexes:40_pfms_open_install_rocky_linux|Rockey Linux への Pandora FMS オープンソース版のインストール]] | |
| |
| <wrap #ks1_9 /> | <wrap #ks1_9 /> |