• 使用を開始する
  • 関連ドキュメント

統合の詳細設定を使用する

統合の詳細設定は Opsgenie の StandardEnterprise の各プランでのみ利用できます。

Jira Service Management の一部として Opsgenie を使用している場合、統合の詳細設定は Jira Service Management の PremiumEnterprise の各プランで利用できます。

Opsgenie integrations may have two types of settings: Basic and Advanced. Basic settings are located on the main screen of an integration.
Using the advanced integration settings will empower you to customize your alerting fully. You can define when the system should create an alert and execute a close action, acknowledge an alert automatically, or add a note.
The framework also enables you to parse out anything from your webhook data and use it dynamically to build your alert content.
The rules are executed in top-down order, and the first matching rule will execute - no further rules are evaluated. Learn more about integration types and actions.

統合の詳細設定ボタンの位置を示すスクリーンショット。

[詳細設定] に移動すると [アクション] タイトルの下にルール ([無視]、[アラートを作成]、[アラートをクローズ]、[メモを追加]) が表示されます。ルールに基づいてアクションが実行されます。データがエンドポイント (またはメール ボックス) に到着するたびに、これらのルールがトップダウンの順序でデータと照合されます。これらのルールにはそれぞれ [フィルター] セクションがあります。アラートに一致する最初のルール (トップダウンの順序) が、それに関連付けられたアクションを実行します。[アラート フィールド] セクションでは、そのアクションの詳細を確認できます。アラートは [アラート フィールド] セクションのテンプレートの取得に従って作成されます。

統合は実際のアラートで最も良く機能します。新しい統合のセットアップ時は、サードパーティ ツールにおけるテスト ボタンの使用の避けることをお勧めします。

アクション処理

統合の詳細設定は、さまざまなアラート シナリオで構成されています。これらのシナリオは「アクション」と呼ばれて、アラートの作成、クローズ、承認などの方法とタイミングを指定します。Opsgenie は統合ごとに既定のアクションを提供しますが、カスタマイズして独自のアクションを好きなだけ追加できます。たとえば、3 つの [アラートを作成] アクションを設定できます。この場合は、Opsgenie の Webhook データがこれらの 3 つのシナリオに対して順に評価されて、そのうちの 1 つに一致するものがあれば新しいアラートが作成されます。

 

Opsgenie 統合での高度なアクションを示すスクリーンショット。

アクション フィルター

Every action has a filter section. Opsgenie processes every incoming data associated with your integration; and evaluates them against your integration's actions for execution. Remember that integration actions have a processing order, and at most, one action can be executed by a single request. If the first action's condition set, Filter does not match the incoming payload, Opsgenie moves on to the next action in line and evaluates its Filter. If an action's Filter matches the data, Opsgenie executes that action and ends the processing on that particular webhook. If no matching action is found, nothing happens.
Pre-canned integration has a list of prepared filter options - the most common ones are available, tailored to the integration you chose. Learn more about action filters in integrations.

また、アラートのカスタマイズやフィルタリングに使用できる正規表現についてもご確認ください。

アラート フィールド

このアクションは、ここで取得したテンプレートと設定に従って実行されます。次の図は [アラートを作成] アクションのフィルターを示しています。条件一致タイプが [すべての条件に一致] に設定されます。そのため、受信データの「アクション」変数が「作成」と、「ソース タイプ名」変数が「Monitor Alert (アラートを監視)」と等しい場合、Opsgenie アラートはアラート フィールドで指定された設定に従って作成されて、処理はそこで終了します。

統合設定でのドラッグ可能なフィールドを示す画像。

On the right side, you see draggable fields (blue boxes), and you see these dynamic fields captured in some of the default alert fields (those inside the curly brackets). Using these, Opsgenie parses your data to construct rich and informative alerts. You can use dynamic fields to customize alert properties - basically automatically parsing out a variable from the payload every time you create an alert according to this "Alert Fields" section.
If you don't need the whole variable and need only a part of the data, like a certain part of an email subject, you can use one of the string processing methods.

動的フィールドの詳細についてご確認ください。

 

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。