文書の過去の版を表示しています。
計画停止
概要
Management → Alerts → Scheduled downtime menu.
管理(Management) → アラート(Alerts) → 計画停止(Scheduled downtime) メニュー。
Pandora FMS has a system for managing scheduled service downtimes. This allows alerts to be disabled during service downtimes by deactivating agents.
Pandora FMS には、計画的なサービス停止を管理するシステムがあります。これにより、サービス停止中にエージェントを無効化することで、アラートを無効にすることができます。
When an agent is disabled, it does not collect information either, so in the event of a service outage, for most metrics or report types (SLA), the intervals where there is a service downtime are not taken into account in reports, since there is no data from that time in the agents.
エージェントが無効になっている場合、エージェントは情報も収集しないため、サービスが停止した場合、ほとんどのメトリックまたはレポートタイプ (SLA) では、その時点のデータがエージェントに存在しないため、サービスの停止期間がレポートで考慮されません。
Generated downtimes will be listed in order of creation date. For a quick search in a long list, you should use filtering by one or more criteria: downtime name, group the downtime belongs to, dates (only applicable for searching downtimes executed Once), execution type, agent, and module.
生成された計画停止は作成日順にリストされます。長いリストを素早く検索するには、計画停止名、計画停止が属するグループ、日付(「1回だけ」実行された計画停止を検索する場合のみ適用されます)、実行タイプ、エージェント、モジュールなど、1つ以上の基準でフィルタリングしてください。
計画停止の作成
Management → Alerts → Scheduled downtime → Create menu.
管理(Management) → アラート(Alerts) → 計画停止(Scheduled downtime) → 作成(Create) メニュー。
It is recommended for agents and modules to be selected for the new scheduled downtime to be added after it was created.
新しい計画停止が作成された後に、エージェントとモジュールを選択して追加することをお勧めします。
If Pandora FMS administrator enables token Allow create scheduled downtimes in the past in the general configuration section, it is possible to create scheduled downtimes in the past. They will not be executed, but their existence will be reflected in reports. This is particularly relevant as it affects availability and SLA reports, among others.
Pandora FMS 管理者が 一般設定 セクションで 過去の計画停止の作成を許可する トークンを有効にすると、過去の計画停止を作成できます。計画停止は実行されません が、レポートにはその存在が反映されます。これは、可用性レポートや SLA レポートなどに影響を与えるため、特に重要です。
Notable fields in the creation of scheduled downtimes:
計画停止の作成における注目すべきフィールド:
- Name: Name of the scheduled downtime, required field.
- Group: Group the downtime will belong to. Only one group to which the user creating the scheduled downtime belongs to may be assigned, unless that user explicitly belongs to group ALL.
- Execution: It allows you to configure it to run once or periodically, either monthly (Monthly) or weekly (Weekly) or through cron. Depending on the option selected, different ways of setting time periods will be displayed; in periodic mode, you may even set an expiration date (if disabled, the scheduled downtime will not be executed after the specified date).
- Types of scheduled downtime (Type list): Disable Agents, Disable Modules, Disable only alerts o Quiet.
- 名前(Name): 計画停止の名前。必須フィールド。
- グループ(Group): 計画停止が所属するグループ。計画停止を作成するユーザが所属するグループを1つだけ割り当てることができます。ただし、そのユーザが明示的にグループ すべて(ALL) に属している場合は除きます。
- 実行(Execution): 一度だけ実行するように設定することも、毎月(毎月(monthly))、毎週(毎週(Weekly))、または cron 経由で定期的に実行するように設定することもできます。選択したオプションに応じて、期間の設定方法が表示されます。定期モードでは、有効期限を設定することもできます(無効にした場合、スケジュールされた計画停止は指定された日付以降実行されません)。
- 計画停止の種類 (Type リスト): エージェント無効化(Disable Agents)、モジュール無効化(Disable Modules)、アラートのみ無効(Disable only alerts)、または 静観(Quiet)。
Since version 782, Quiet, Disable only alerts, and Disable modules modes are applied to modules, while Disable Agents is applied to Agents which in turn affects each and every one of the corresponding modules.
バージョン 782 以降、静観(Quiet) および モジュール無効化(Disable modules) モードはモジュールに適用されますが、アラートのみ無効(Disable only alerts) および エージェント無効化(Disable Agents) はエージェントに適用され、対応するすべてのモジュールに影響することに注意してください。
To save, click Add and then add, using the filter, the Agents and Modules affected by the scheduled downtime.
保存するには、追加(Add) をクリックし、フィルターを使用して、計画停止によって影響を受けるエージェントとモジュールを追加します。
計画停止管理のコンソール以外での代替手段
There are often certain “cyclical” situations that you need to take into account and the service downtime management method is too specific. For example, being able to deactivate all agents quickly and on time or scheduling a general downtime every week from a certain time to a certain time. For these types of operations, there are ways to do it from the command line.
計画停止の管理はしばしば周期的に実施する必要がある場合があります。たとえば、すべてのエージェントを迅速かつ時間通りに無効化したり、毎週特定の時刻から特定の時刻までの一般的な計画停止をスケジュールしたりする必要があります。このような操作については、コマンドラインから実行する方法があります。
There is a quick way to set all agents in service mode, through the use of the CLI with the utility pandora_manage.pl:
CLI のユーティリティ pandora_manage.pl を使用した、すべてのエージェントを無効化する簡単な方法があります。
./pandora_manage.pl /etc/pandora/pandora_server.conf --enable_group 1 Pandora FMS Manage tool 3.1 PS100519 Copyright (c) 2010 Pandora FMS SL This program is Free Software, licensed under the terms of GPL License v2 You can download latest versions and documentation at https://pandorafms.com/ [*] Pandora FMS module loaded. [INFO] Enabling group 1
To disable them:
無効にするには:
./pandora_manage.pl /etc/pandora/pandora_server.conf --disable_group 1