====== 計画停止 ====== {{indexmenu_n>24}} [[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] ===== 概要 ===== Pandora FMS has a system for managing scheduled service downtimes through the menu **Management → Alerts → Scheduled downtime**. Pandora FMS には、**管理(Management) → アラート(Alerts) → 計画停止(Scheduled downtime)** メニューに計画されたサービス停止時間を管理するシステムがあります。 {{ :wiki:downtimegeneral.png }} This system allows alerts to be deactivated in intervals where there is a service downtime, deactivating the agents. このシステムにより、サービスが停止している期間にアラートを無効化し、エージェントを無効化することができます。 When an agent is deactivated, it does not collect information either, so in a service downtime, for most metrics or report types, the intervals where there is a service downtime **are not taken into account in the reports, since there is no data from that time from agents**. エージェントが無効化されると情報も収集されなくなります。そのため、サービスの停止期間中は、ほとんどのメトリックまたはレポートタイプについて、**エージェントからその時間のデータが得られないため、サービス停止が発生した期間はレポートで考慮されません**。 ===== 計画停止の作成 ===== To create a service downtime, go to the **Management → Alerts → Scheduled downtime** menu. Next, clcik **Create** to add a new scheduled downtime. The following fields must be filled out: サービスのダウンタイムを作成するには、**管理(Management) → アラート(Alerts) → 計画停止(Scheduled downtime)** メニューに移動します。次に、**作成(Create)** をクリックして、新しい計画停止を追加します。次のフィールドに入力する必要があります。 * **Name**: Name of the scheduled downtime, required field. * **Group**: Group to which you wish it to belong. You may only assign a group to which the user who is creating the scheduled downtime belongs, unless that user explicitly belongs to the group **ALL** ([[:en:documentation:pandorafms:management_and_operation:11_managing_and_administration#the_group_all_everyone|ALL]]). The agents and modules to be selected for the new scheduled downtime will be added **after** it was created. * **Type**: Select one of the following downtime types: * **Quiet**: Check the indicated modules as silent, so they will not generate alerts or events. * **Disable only alerts**: Disable alerts for selected agents. * **Disable Agents**: Disable the selected agents. It is important to know that if an agent is manually disabled before the task is launched, it will become enabled once this task has finished. * **Disable modules**: Disable the selected modules. * **名前(Name)**: 計画停止の名前。必須フィールド。 * **グループ(Group)**: 所属させたいグループ。計画停止を作成するユーザが所属するグループのみを割り当てることができます。ただし、そのユーザが明示的にグループ **ALL** ([[:ja:documentation:pandorafms:management_and_operation:11_managing_and_administration#すべて_グループ|すべて]]) に属している場合は除きます。新しい計画停止に選択されるエージェントとモジュールは、計画停止が作成された **後** に追加されます。 * **タイプ(Type)**: 次のいずれかの計画停止タイプを選択します。 * **静観(Quiet)**: 指定されたモジュールをサイレントとしてチェックし、アラートやイベントを生成しないようにします。 * **アラートのみ無効(Disable only alerts)**: 選択したエージェントのアラートを無効にします。 * **エージェント無効化(Disable Agents)**: 選択したエージェントを無効にします。タスクが起動される前にエージェントを手動で無効にした場合、このタスクが完了するとエージェントが有効になることに注意してください。 * **モジュール無効化(Disable modules)**: 選択したモジュールを無効にします。 Remember that the **Quiet** and **Disable modules** mode is applied to the modules while **Disable only alerts** and **Disable Agents** are applied to Agents, which in turn affects each and every corresponding module. **静観(Quiet)** および **モジュール無効化(Disable modules)** モードはモジュールに適用されますが、**アラートのみ無効(Disable only alerts)** および **エージェント無効化(Disable Agents)** はエージェントに適用され、対応するすべてのモジュールに影響することに注意してください。 * **Execution**: It allows you to configure it to be executed once or periodically: monthly (**Monthly**) or weekly (**Weekly**). * **Set time**: Setting the day and time at which the scheduled downtime will start and the day and time at which it will end, either once or periodically. * **実行(Execution)**: 1 回または定期的に実行するように設定できます: 毎月 (**Monthly**) または毎週 (**Weekly**)。 * **時刻設定(Set time)**: 計画停止の開始日時と終了日時を 1 回または定期的に設定します。 If enabled by Pandora FMS administrator in the visual settings section, it is possible to create scheduled downtimes on a past date. **They will not be executed** but their existence will be reflected in different reports. This is especially relevant since it affects, among others, availability and SLA reports. Pandora FMS 管理者が表示設定セクションで有効にした場合、過去の日付の計画停止を作成できます。これは **実行されません** が、その設定はさまざまなレポートに反映されます。これは、可用性レポートや SLA レポートなどに影響するため、特に重要です。 To save, click **Add** and then add, by filter, the Agents and Modules affected by the scheduled downtime: 保存するには、**追加(Add)** をクリックし、計画停止の対象となるエージェントとモジュールをフィルターで追加します。 Using **Group filter,** select a group and **Available agents** will show the available agents. In turn, select one or more of them and the modules will be updated in **Available modules**. You may also select all with the **Any** option. You may show the common modules between the selected agents in **Show common modules** or, on the contrary, show all the modules with **Show all modules** and thus make a new module selection. To finish, click **Update** to update the values of the newly created scheduled downtime. **グループフィルタ(Group filter)** を使用してグループを選択すると、**利用可能なエージェント(Available agents)** に利用可能なエージェントが表示されます。次に、それらのエージェントを 1 つ以上選択すると、**利用可能なモジュール(Available modules)** のモジュールが更新されます。**任意(Any)** オプションを使用してすべてを選択することもできます。**共通モジュールを表示(Show common modules)** で選択したエージェント間の共通モジュールを表示することも、逆に**すべてのモジュールを表示(Show all modules)** ですべてのモジュールを表示して新しいモジュール選択を行うこともできます。終了するには、**更新(Update)** をクリックして、新しく作成されたスケジュールされたダウンタイムの値を更新します。 Once the modules have been added to the scheduled downtime, you may modify, delete or add the modules (those available according to the selected filter). モジュールが計画停止に追加されると、モジュール(選択したフィルターに応じて利用可能なもの)を変更、削除、または追加できます。 When a scheduled service downtime is "active" (**Running**) it cannot be modified or deleted and an option is available in which its execution can be stopped (**Stop downtime**). 計画停止が「有効」(**実行中**) の場合、変更または削除はできず、実行を停止できるオプション (**計画停止の中止**) が利用できます。 This option does not support periodic scheduled downtimes. このオプションは、定期的な計画停止をサポートしません。 Note that for each scheduled downtime, next to its name and in parentheses, the number of "affected" agents is shown. 計画停止ごとに、その名前の横の括弧内に「影響を受ける」エージェントの数が表示されることに注意してください。 ===== 計画停止管理のコンソール以外での代替手段 ===== 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 [[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]