Microsoft Azure Resource Health と統合する

統合でできるようになること
Azure Resource Health 統合を使用して、Azure Resource Health アラートを Jira Service Management に転送します。Jira Service Management では、オンコール スケジュールに基づいて適切な通知先を決定します。メール、テキスト メッセージ (SMS)、電話、iOS や Android のプッシュ通知による通知を行い、アラートが承認またはクローズされるまでアラートをエスカレーションします。
統合による機能
Azure で Resource Health アラートが作成されると、Jira Service Management でアラートが自動的に作成されます。Azure で Resource Health アラートがクローズされると、アラートは Jira Service Management でもクローズします。
統合をセットアップする
Azure Resource Health は API ベースの統合です。設定は次の手順で行います。
Jira Service Management で Azure Resource Health 統合を追加する
Azure Resource Health で統合を設定する
Azure Resource Health 統合を追加する
The following capabilities are available in Jira Service Management Premium and Enterprise:
双方向の統合
Outgoing integrations at the team level
Integrations at a site level through Settings (icon) > Products (under Jira settings) > Operations
To access Jira Service Management Premium features, you must subscribe to a Service Collection Premium or Enterprise plan.
Adding an integration from your team’s operations page makes your team the owner of the integration. This means Jira Service Management only assigns the alerts received through this integration to your team.
Jira Service Management で Azure Resource Health 統合を追加するには、次の手順を実行します。
Next to Operations in the sidebar, select More actions (), then General configuration.
Select Integrations and then Add integration.
検索を実行して「Azure Resource Health」を選択します。
次の画面で、統合の名前を入力します。
オプション: 特定のチームが統合からのアラートを受信するようにする場合は、[Assignee team (担当者チーム)] のチームを選択します。
[Continue] を選択します。
この時点で、統合が保存されます。[統合を設定する手順] セクションを展開して、ご利用のアカウント用に生成された統合 URL をコピーします。
この URL は、後ほど Azure で統合を設定する際に使用します。[統合をオンにする] を選択します。
統合のために作成したルールは、統合をオンにした場合にのみ機能します。
Azure Resource Health で統合を設定する
Azure Resource Health で統合を設定するには、次の手順を実行します。
Azure ポータルで [Browse (参照)] を選択します。
[Service Health (サービスの健全性)] を選択します。
[Resource Health] セクションで [Resource Health] を選択します。
[Add resource health alert (リソースの健全性アラートを追加)] を開きます。
アラートをフィルタリングするための条件を追加します。
[Actions (アクション)] タブに移動します。
[Create Action Group (アクション グループの作成)] を選択します。
アクションを追加する際は、アクション タイプに [Webhook] を選択します。Jira Service Management からコピーした統合 URL を [URI] に貼り付けます。
必要に応じて、共通のアラート スキーマを有効にします。
新しいアクション グループの変更を保存します。
アラートの変更を保存します。
ペイロードの例
(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"
}
}
}
}
この内容はお役に立ちましたか?