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

End of sales and support for Opsgenie

Atlassian will discontinue new sales of Opsgenie on June 4, 2025 and end support for Opsgenie on April 5, 2027. Read the full announcement and learn about next-generation incident response options via Jira Service Management and Compass.

Opsgenie を Microsoft Azure Resource Health と統合する

概要

統合でできるようになること

Azure Resource Health 統合を使用して、Azure Resource Health アラートを Opsgenie に転送します。Opsgenie は、オンコール スケジュールに基づいて通知すべきユーザーを決定します。メール、テキスト メッセージ (SMS)、電話、iOS や Android のプッシュ通知による通知を行い、アラートが承認またはクローズされるまでアラートをエスカレートします。

統合による機能

AzureAzure Resource Health アラートが作成されると、Opsgenie でアラートが自動的に作成されます。Azure で Resource Health アラートがクローズされると、アラートは Opsgenie でもクローズします。

統合をセットアップする

Azure Resource Health は API ベースの統合です。設定は以下の手順で行います。

  • OpsgenieAzure Resource Health 統合を追加する

  • Azure Resource Health で統合を設定する

Azure Resource Health 統合を追加する

Opsgenie の Free プランまたは Essentials プランを使用している、または Jira Service Management の Standard プランで Opsgenie を使用している場合は、チーム ダッシュボードからのみこの統合を追加できます。 このプランでは、[設定] の [統合] ページが利用できません。

  1. [チーム] に移動して自分のチームを選択します。

  2. 左側のナビゲーションで [統合] を選択し、[統合を追加] を選択します。

統合をチーム ダッシュボードから追加すると、そのチーム統合の所有者になります。Opsgenie では、この統合を通じて受信したアラートはそのチームのみに割り当てられます。このセクションの残りの手順に従って、統合を設定してください。

Opsgenie で Azure Resource Health 統合を追加する方法は以下のとおりです。

  1. [設定] > [統合] の順に移動します。

  2. [統合を追加] を選択します。

  3. 検索を実行して「Azure Resource Health」を選択します。

  4. 次の画面で、統合の名前を入力します。

  5. オプション: 特定のチームが統合からのアラートを受信するようにする場合は、[Assignee team (担当者チーム)] のチームを選択します。

  6. [Continue] を選択します。
    この時点で、統合が保存されます。

  7. [統合を設定する手順] セクションを展開し、アカウント用に生成された URL をコピーします。
    この URL は、後ほど Azure で統合を設定する際に使用します。

  8. [統合をオンにする] を選択します。
    統合のために作成したルールは、統合をオンにした場合にのみ機能します。

Azure Resource Health で統合を設定する

1. Azure ポータルで [Browse (参照)] を選択します。

2. [Service Health (サービスの健全性)] を選択します。

3. [Resource Health (リソースの健全性] セクションで [Resource Health (リソースの健全性] を選択します。

4. [Add resource health alert (リソースの健全性アラートを追加)] を開きます。

5. アラートをフィルタリングするための条件を追加します。

6. [Actions (アクション)] タブに移動します。

7. [Create Action Group (アクション グループの作成)] を選択します。
アクションを追加する際は、アクション タイプに [Webhook] を選択します。

8. Paste the URL you copied while adding the integration in Opsgenie into URI.

9. 必要に応じて、共通のアラート スキーマを有効にします。

10. 新しいアクション グループの変更を保存します。

11. アラートの変更を保存します。

サンプル ペイロード (JSON 形式)

 

{ "schemaId": "Microsoft.Insights/activityLogs", "data": { "status": "Activated", "context": { "activityLog": { "channels": "Admin, Operation", "correlationId": "a1be61fd-37ur-ba05-b827-cb874708babf", "eventSource": "ResourceHealth", "eventTimestamp": "2018-09-04T23:09:03.343+00:00", "eventDataId": "2b37e2d0-7bda-4de7-ur8c6-1447d02265b2", "level": "Informational", "operationName": "Microsoft.Resourcehealth/healthevent/Activated/action", "operationId": "2b37e2d0-7bda-489f-81c6-1447d02265b2", "properties": { "title": "Virtual Machine health status changed to unavailable", "details": "Virtual machine has experienced an unexpected event", "currentHealthStatus": "Unavailable", "previousHealthStatus": "Available", "type": "Downtime", "cause": "PlatformInitiated" }, "resourceId": "/subscriptions/<subscription Id>/resourceGroups/<resource group>/providers/Microsoft.Compute/virtualMachines/<resource name>", "resourceGroupName": "<resource group>", "resourceProviderName": "Microsoft.Resourcehealth/healthevent/action", "status": "Active", "subscriptionId": "<subscription Id>", "submissionTimestamp": "2018-09-04T23:11:06.1607287+00:00", "resourceType": "Microsoft.Compute/virtualMachines" } } } }

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

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