====== PFMS サーバとエンドポイントのリモート設定 ======
{{indexmenu_n>60}}
[[ja:documentation:pandorafms:start|Pandora FMS ドキュメント一覧に戻る]]
===== 概要 =====
In the [[:en:documentation:pandorafms:introduction:02_architecture|Pandora FMS architecture]], running on a Linux® server, the vital component with almost all the information is **the MySQL database**. The **Pandora FMS Servers**, with the data generated by themselves, or by the Agents, enter that information into said database.
Linux® サーバ上で動作する[[:ja:documentation:pandorafms:introduction:02_architecture|Pandora FMS アーキテクチャ]]では、ほぼすべての情報を含む重要なコンポーネントは **MySQLデータベース** です。**Pandora FMS サーバ**は、自身またはエージェントによって生成されたデータを使用して、その情報をこのデータベースに入力します。
The [[:en:documentation:pandorafms:installation:03_interface|Web console]] is the part in charge of displaying the data and interacting with the end user. The [[:en:documentation:pandorafms:monitoring:02_operations#ks1|EndPoints]] are applications that run on the monitored systems and collect information, which is then sent to the **PFMS Servers**.
[[:ja:documentation:pandorafms:installation:03_interface|Webコンソール]]は、データの表示とエンドユーザーとの対話を担当する部分です。[[:ja:documentation:pandorafms:monitoring:02_operations#ks1|エンドポイント]]は、監視対象システム上で実行され、情報を収集するアプリケーションです。収集された情報は、**PFMS サーバ**に送信されます。
The configuration file ''/etc/pandora/pandora_server.conf'' stores all the //tokens// of the **PFMS Servers**, including other features of functionalities and complementary components. In this topic, and given its importance, the management of said file is briefly described.
設定ファイル ''/etc/pandora/pandora_server.conf'' には、機能や補完コンポーネントのその他の特徴を含め、**PFMS サーバ**のすべての//トークン//が格納されます。このトピックでは、その重要性を鑑み、このファイルの管理について簡単に説明します。
{{ :wiki:pfms-remote_config_server_endpoint.png?400 }}
===== PFMS サーバのリモート管理 =====
Menu **Management → {{:wiki:pfms-menu-servers_icon.svg?nolink&21x21}} Servers → Manage servers**.
Since the creation of Pandora FMS, the file \\ ''/etc/pandora/pandora_server.conf'' \\ has always housed the general system configuration through value pairs (//token// name and its value), one for each line, and accompanied by useful comments.
メニュー **管理(Management) → {{:wiki:pfms-menu-servers_icon.svg?nolink&21x21}} サーバ(Servers) → サーバ管理(Manage servers)**.
Pandora FMS の作成以来、ファイル ''/etc/pandora/pandora_server.conf'' には、各行に値のペア (//トークン//名前とその値) と、役立つコメントが添えられた、一般的なシステム設定が格納されています。
As of version 752, the **Advanced editor** was established in the Web console, which completely shows (and allows editing) the configuration file, and the **Standard editor** with a user-friendly visual interface. Both options are accessed, respectively, through their respective icons:
バージョン 752 以降、Webコンソールに**高度なエディタ**が導入されました。これは設定ファイルを完全に表示(および編集)し、**標準エディタ**はユーザフレンドリーなビジュアルインターフェースを備えています。どちらのオプションも、それぞれ対応するアイコンからアクセスできます。
{{ :wiki:pfms_remote_configuration_server_endpoint-image_010.png }}
Only for new Pandora FMS installations with version 771 and later, the ''[[:en:documentation:pandorafms:installation:04_configuration#remote_config|remote_config]]'' //token// comes active by default, which means that the management of all parameters is fully delegated to the Web console (**any changes through the command terminal will be discarded**).
バージョン 771 以降の新しい Pandora FMS インストールの場合のみ、''[[:ja:documentation:pandorafms:installation:04_configuration#remote_config|remote_config]]'' //トークン//がデフォルトで有効になり、すべてのパラメーターの管理が完全にWebコンソールに委任されます(**コマンドターミナルによる変更はすべて破棄されます**)。
The configuration changes made and saved will be applied in moments and the **PFMS Server** will automatically restart, a manual restart being unnecessary.
設定変更が行われ保存されると、すぐに適用され、**PFMS サーバ** が自動的に再起動されるため、手動での再起動は不要です。
If you have an installation prior to version 771, you can activate remote configuration without any problem and also enjoy this management facility.
バージョン 771 より前のバージョンをインストールしている場合でも、問題なくリモート設定を有効にでき、この管理機能を利用できます。
===== PFMS エンドポイントのリモート管理 =====
Menu **Management → {{:wiki:pfms-menu-resources_icon.svg?nolink&21x21}} Resources → Manage agents**.
In monitoring with EndPoints, their remote configuration comes active by default starting with version 778.
メニュー **管理(Management) → {{:wiki:pfms-menu-resources_icon.svg?nolink&21x21}} リソース(Resources) → エージェント管理(Manage agents)**.
エンドポイントによる監視では、バージョン 778 以降、リモート設定がデフォルトで有効になります。
{{ :wiki:pfms_remote_configuration_server_endpoint-image_020.png }}
Once an EndPoint's remote configuration is activated, any changes made locally in its configuration file will be overwritten by the configuration stored in the Web console.
エンドポイントのリモート設定が有効化されると、ローカルの設定ファイルに加えられた変更は、Webコンソールに保存されている設定によって上書きされます。
In this way, the [[:en:documentation:pandorafms:installation:05_configuration_agents#remote_config|remote_config]] //token// is set to ''1'' in the following configuration files (default locations on remote devices):
このようにして、[[:ja:documentation:pandorafms:installation:05_configuration_agents#remote_config|remote_config]] //トークン// は、以下の設定ファイル(リモートデバイス上のデフォルトの場所)で ''1'' に設定されます。
* On MS Windows®:
* MS Windows® の場合:
%ProgramFiles%\pandora_agent\pandora_agent.conf
* On Linux® systems:
* Linux® システムの場合:
/etc/pandora/pandora_agent.conf
To learn how and where the **PFMS Server** saves the Agent configuration corresponding to an EndPoint, see the topic "[[:en:documentation:pandorafms:monitoring:02_operations#ks1_1_2|Monitoring with EndPoints]]", in the respective section.
**PFMS サーバ** がエンドポイントに対応するエージェント設定をどのように、どこに保存するかについては、該当セクションのトピック "[[:ja:documentation:pandorafms:monitoring:02_operations#ks1_1_2|エンドポイントを使用した監視]]" を参照してください。
//To return to local EndPoint management (and vice-versa)//, first you must stop its service, reset ''remote_config'' to the desired value, and start that service again.
ローカルエンドポイント管理に戻る(またはその逆)には、まずそのサービスを停止し、''remote_config'' を目的の値にリセットしてから、そのサービスを再度開始する必要があります。
By accessing an EndPoint's remote configuration, you will be able to edit the values of each of the //tokens// that dictate its operation, as well as other advanced functions.
エンドポイントのリモート設定にアクセスすることで、その動作を規定する各トークンの値を編集したり、その他の高度な機能を利用したりできます。
{{ :wiki:pfms_remote_configuration_server_endpoint-image_030.png }}
After clicking the **Update** button, the changes will be sent via the [[:en:documentation:pandorafms:technical_reference:09_tentacle|Tentacle protocol]] and in each check execution interval, those orders will always be read (it is unnecessary to restart the EndPoint service).
**更新(Update)**ボタンをクリックすると、変更内容は[[:ja:documentation:pandorafms:technical_reference:09_tentacle|Tentacle プロトコル]]経由で送信され、各チェック実行間隔でこれらの命令が必ず読み取られます(エンドポイントサービスを再起動する必要はありません)。
[[ja:documentation:pandorafms:start|Pandora FMS ドキュメント一覧に戻る]]