ja:documentation:pandorafms:technical_annexes:32_pfms_install_software_agent

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
ja:documentation:pandorafms:technical_annexes:32_pfms_install_software_agent [2026/02/11 00:42] – [Pandora FMS エンドポイントのインストール] junichija:documentation:pandorafms:technical_annexes:32_pfms_install_software_agent [2026/02/11 00:48] (現在) – [tar ボールからのエンドポイントインストール] junichi
行 312: 行 312:
  
 <wrap #ks6_1 /> <wrap #ks6_1 />
 +
 +==== tar ボールソースを使ったエンドポイントの手動インストール ====
 +
 +Instructions for EL version 10 environments are detailed below.
 +
 +EL バージョン 10 環境の手順について、以下に詳しく説明します。
 +
 +1. Elevate privileges to the **root** user; you are solely responsible for this key. Update repositories and install the **Perl** language if it is not already installed:
 +
 +1. 権限を **root** ユーザに昇格します。この責任はあなたにあります。リポジトリを更新し、**Perl** 言語がまだインストールされていない場合はインストールしてください。
 +
 +<code bash>
 +su -
 +dnf update
 +dnf install perl wget -y
 +</code>
 +
 +Download the PFMS Endpoint installer with the source code included:
 +
 +ソースコードが含まれている PFMS エンドポイントインストーラーをダウンロードします。
 +
 +<code bash>
 +wget https://packages.pandorafms.com/pandorafms/latest/pandorafms_one_agent_linux-latest.src.tar.gz
 +</code>
 +
 +2. Copy the downloaded file to ''/tmp/'', enter that directory, and execute:
 +
 +2. ダウンロードしたファイルを ''/tmp/'' にコピーし、そのディレクトリに移動して、次のコマンドを実行します。
 +
 +<code bash>
 +tar xvzf pandorafms_one_agent_linux-latest.src.tar.gz
 +cd unix
 +./pandora_agent_installer --install
 +</code>
 +
 +<WRAP center round tip 90%>
 +
 +It may be necessary to manually install some additional required dependencies:
 +
 +<code bash>
 +dnf install libnsl perl-Sys-Syslog -y
 +</code> \\ 
 +
 +</WRAP>
 +
 +<WRAP center round tip 90%>
 +
 +追加の必要な依存ファイルを手動でインストールする必要がある場合があります。
 +
 +<code bash>
 +dnf install libnsl perl-Sys-Syslog -y
 +</code> \\ 
 +
 +</WRAP>
 +
 +Additionally, there are some modules that may not be present with the installation of Perl //core// modules. They can be installed using the following commands:
 +
 +さらに、Perl //core// モジュールのインストールではインストールされないモジュールがいくつかあります。これらのモジュールは、以下のコマンドでインストールできます。
 +
 +<code bash>
 +cpan YAML::Tiny
 +cpan Thread::Semaphore
 +</code>
 +
 +The complete list of dependencies and/or modules is as follows:
 +
 +依存関係およびモジュールの完全なリストは次のとおりです。
 +
 +<code perl>
 +File::Basename
 +File::Copy
 +O::Socket
 +MIME::Base64
 +POSIX
 +Scalar::Util
 +Sys::Hostname
 +Sys::Syslog
 +Thread::Semaphore
 +Time::Local
 +YAML::Tiny
 +commands
 +constant
 +strict
 +threads
 +threads::shared
 +warnings
 +libnsl
 +perl-Sys-Syslog
 +</code>
 +
 +**Post-installation configurations**.
 +
 +**インストール後の設定**
 +
 +Once everything has finished installing, you must manually edit the Endpoint configuration file (using your preferred text editor) [[:en:documentation:pandorafms:installation:05_configuration_agents#ks3|to point to the corresponding PFMS Server]]:
 +
 +すべてのインストールが完了したら、エンドポイント設定ファイルを手動で編集する必要があります。(好みのテキストエディタを使用して) [[:ja:documentation:pandorafms:installation:05_configuration_agents#ks3|対応する PFMS サーバを指すように]]します。
 +
 +<code bash>
 +vi /etc/pandora/pandora_agent.conf
 +</code>
 +
 +As a recommendation, enable remote configuration on this Endpoint:
 +
 +推奨としては、このエンドポイントでリモート設定を有効にします。
 +
 +<code bash>
 +sed -i "s/^remote_config.*$/remote_config 1/g" /etc/pandora/pandora_agent.conf
 +</code>
 +
 +Once the configurations are complete, the service can be started:
 +
 +設定が完了したら、サービスを開始できます。
 +
 +<code bash>
 +systemctl start pandora_agent_daemon
 +systemctl enable pandora_agent_daemon
 +</code>
 +
 +<wrap #ks6_2 />
  
 ==== エンドポイントのカスタムインストール ==== ==== エンドポイントのカスタムインストール ====
  • ja/documentation/pandorafms/technical_annexes/32_pfms_install_software_agent.txt
  • 最終更新: 2026/02/11 00:48
  • by junichi