In the latest change in architecture, which moved from threads to processes, it became clear that there was excessive consumption and complexity in optimizing the environment due to the existence of too many server subtypes.
アーキテクチャ の最新の変更にて、スレッドからプロセスに移行しました。サーバのサブタイプの数が多すぎることにより環境の最適化に過剰な消費と複雑さが生じることが明らかになりました。
This topic discusses a model change that mskes use of the same basis, unifying fewer servers so that having more threads for multiple tasks will make better use of hardware and time resources.
このトピックでは、同じ基盤の使用を減らし、サーバを統合して複数のタスクにスレッドを増やすことで、ハードウェアと時間のリソースをより有効に活用するモデル変更について説明します。
Servers are integrated into a single application, called Pandora Server as an ensemble, which is a multithreaded application that runs different instances or specialized Pandora FMS servers at the same time. For version 783 and earlier, the following servers were available:
サーバは、Pandora Server と呼ばれる単一のアプリケーションに統合され、一連のものとして機能します。これは、異なるインスタンスまたは専用の Pandora FMS サーバを同時に実行するマルチスレッドアプリケーションです。バージョン 783 以前では、以下のサーバーが利用可能でした。
Given this overview, and in an environment with half of the servers started, high memory usage was detected without having actually started working.
この概要を踏まえ、サーバの半数が起動している環境では、実際に処理を行っていないにもかかわらず、高いメモリ使用量となっていました。
In version 784, the different servers have been grouped into a smaller group, which means that a producer may generate different types of tasks, e.g., a ping and a WMI check, which are now processed by the same user. This user will execute one task for WMI and another for PING, essentially doing the same thing as always.
バージョン 784 では、異なるサーバが小さなグループにまとめられました。これにより、プロデューサーは異なる種類のタスク(例えば、ping と WMIチェック)を生成し、同じユーザによって処理されるようになりました。このユーザは、WMI 用に 1つのタスク、PING 用に 1つのタスクを実行しますが、基本的にはこれまでと同じ処理を行います。
Timeouts remain individual for each type of execution.
タイムアウトは実行の種類ごとに個別に設定されます。
It takes on the tasks of the following servers:
次のサーバのタスクを引き受けます。
It handles the tasks of the following servers:
次のサーバのタスクを処理します。
It manages the workloads of the ICMP Server and SNMP Server.
ICMP サーバと SNMP サーバのワークロードを管理します。
Servers enabled by default:
デフォルトで有効になっているサーバ:
Servers disabled by default:
デフォルトで無効化されているサーバ:
The main configuration of Pandora FMS Server is located in file pandora_server.conf, in the default path /etc/pandora.
Pandora FMS サーバ の主な設定は、デフォルトのパス /etc/pandora にあるファイル pandora_server.conf にあります。
Starting with version 784, two main new tokens (and their thread configurations) are added:
バージョン 784 以降では、2 つの主要な新しいトークン (およびそのスレッド構成) が追加されました。
The following tokens were removed:
次のトークンは削除されました。
| Token | Replaced by |
|---|---|
exportserver | heavyserver |
export_threads | heavyserver_threads |
icmpserver | networkhpserver |
icmp_threads | networkhpserver_threads |
inventoryserver | heavyserver |
inventory_threads | heavyserver_threads |
ncmserver | heavyserver |
ncmserver_threads | heavyserver_threads |
pluginserver | heavyserver |
plugin_threads | heavyserver_threads |
predictionserver | networkserver |
prediction_threads | network_threads |
snmpserver | networkhpserver |
snmp_threads | networkhpserver_threads |
webserver | networkserver |
web_threads | network_threads |
wmiserver | networkserver |
wmi_threads | network_threads |
| トークン | 置き換え後トークン |
|---|---|
exportserver | heavyserver |
export_threads | heavyserver_threads |
icmpserver | networkhpserver |
icmp_threads | networkhpserver_threads |
inventoryserver | heavyserver |
inventory_threads | heavyserver_threads |
ncmserver | heavyserver |
ncmserver_threads | heavyserver_threads |
pluginserver | heavyserver |
plugin_threads | heavyserver_threads |
predictionserver | networkserver |
prediction_threads | network_threads |
snmpserver | networkhpserver |
snmp_threads | networkhpserver_threads |
webserver | networkserver |
web_threads | network_threads |
wmiserver | networkserver |
wmi_threads | network_threads |
In version 784 there is a new category in the deletion parameters that especially affects data with interval times lower than 300 seconds. By default, this type of data cannot be stored for more than a week, and is moved to history from that point on.
バージョン 784 では、削除パラメータに新しいカテゴリが追加されました。これは、特に 300 秒未満の間隔で保存されたデータに影響します。デフォルトでは、このタイプのデータは 1週間以上保存できず、それ以降はヒストリデータベースに移動されます。
This new data compression is used when transferring data to the history database, so that regardless of the data, no more than X samples per hour are stored in the history database (e.g., from 12, which is normal, it can change to 5 by default).
この 新しいデータ圧縮 は、データをヒストリデータベースに転送するときに使用され、データに関係なく、1 時間あたり X 個を超えるサンプルがヒストリデータベースに保存されることはありません (たとえば、通常は 12 ですが、デフォルトで 5 に変更できます)。
Default setting: this type of compression is not used.
デフォルト設定: このタイプの圧縮は使用されません。
If used, the default value of 5 samples per hour will be used. The general configuration control does not allow values lower than 1 or higher than 12. Compaction is not performed in cases where the number of samples is lower than the established value.
使用した場合、デフォルト値である 1時間あたり 5サンプルとなります。一般設定では 1 未満または 12 を超える値は許可されません。サンプル数が設定値よりも少ない場合、圧縮は実行されません。