CloudWisdom と統合する
統合でできるようになること
Jira Service Management は、CloudWisdom との特定の API 統合に対応しています。CloudWisdom によってアラート通知メッセージが詳細情報とともに Jira Service Management API に送信されます。Jira Service Management はこれらのアラートのディスパッチャーとして機能し、オンコール スケジュールに基づいて適切な通知先が決定されます。メール、テキスト メッセージ (SMS)、電話、iPhone や Android のプッシュ通知によって通知し、アラートが承認されるかクローズされるまでアラートをエスカレートします。
統合による機能
CloudWisdom でアラートが作成されると、統合を通じて Jira Service Management でもアラートが自動的に作成されます。
CloudWisdom アラートに画像が添付されている場合、それらの画像は Jira Service Management アラートにも添付されます。
統合をセットアップする
CloudWisdom は API ベースの統合です。設定は次の手順で行います。
Jira Service Management で CloudWisdom 統合を追加する
CloudWisdom で統合を設定する
CloudWisdom 統合を追加する
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 で CloudWisdom 統合を追加するには、次の手順を実行します。
Next to Operations in the sidebar, select More actions (), then General configuration.
Select Integrations and then Add integration.
検索を実行して [CloudWisdom] を選択します。
次の画面で、統合の名前を入力します。
オプション: 特定のチームが統合からのアラートを受信するようにする場合は、[Assignee team (担当者チーム)] のチームを選択します。
[Continue] を選択します。
この時点で、統合が保存されます。[統合を設定する手順] セクションを展開して、API キーをコピーします。
このキーは、後ほど CloudWisdom で統合を設定する際に使用します。[統合をオンにする] を選択します。
統合のために作成したルールは、統合をオンにした場合にのみ機能します。
CloudWisdom で統合を設定する
CloudWisdom (Netuitive) と Jira Service Management の統合を設定するには、次の手順に従います。
CloudWisdom で、[通知] ページに移動し、[Opsgenie] タブを開きます。
[Add Opsgenie (Opsgenie を追加)] を選択します。
次のフィールドの値を入力します。
名前: 通知の名前。
有効: 通知がアクティブであることを示します。
API キー: Jira Service Management からコピー
API URL: Jira Service Management からコピー (アカウントが EU インスタンスにある場合)
説明: 通知の説明
チーム: この通知を受信する Jira Service Management チームのコンマ区切りのリスト
受信者: この通知を受信する Jira Service Management エージェントのコンマ区切りのリスト
タグ: 通知を分類するために使用されるタグ。
[保存] を選択します。
ポリシー設定から Jira Service Management 通知を有効にします。
[モニタリング] > [アラート] に移動します。
[+ New Policy (+ 新しいポリシー)] を選択します (または既存のポリシーを編集します)。モーダルが表示されます。
ポリシーのスコープと条件を設定します。
[通知] > [通知を追加] に移動します。
[通知タイプ] で [OpsGenie] を選択します。
ポリシー設定を完了します。
変更を保存します。
CloudWisdom から送信されたペイロードの例
JSON
{
"apiKey": "CUSTOMER_GENERATED_OPS_GENIE_API_KEY",
"message": "CRITICAL, 'EC2 Utilization at 100%' fired for 'mon01-usw2a'",
"alias": "d7be1059-ac53-4f36-8e4d-3678741ed131",
"teams": [
"team01",
"team02"
],
"recipients": [
"recipient01",
"recipient02",
"test@netuitive.com"
],
"description": "a user defined description",
"tags": [
"tag01",
"tag02",
"tag03"
],
"event": {
"type": "EXTERNAL_INFO",
"category": "CRITICAL",
"elementFqn": "us-west-2:i-81d9718a",
"elementName": "mon01-usw2a",
"elementType": "EC2",
"elementTags": {
"tag02": "tag02Value",
"tag01": "tag01Value"
},
"elementLocation": "location",
"timestamp": "2015-03-26T18:05:10Z",
"policy": {
"name": "EC2 Utilization at 100%",
"scope": {
"elementName": "",
"elementTags": {
"tag01": "value01",
"tag02": "value02"
}
},
"conditions": [
{
"analytic": "actual",
"metric": "Utilization",
"operator": ">",
"level": 99
},
{
"analytic" : "analytics",
"metric" : "metric",
"operator" : "op",
"level" : 9000
}
]
}
},
"eventLink": "https://uat.netuitive.com#/metrics?timeRangeDuration=14400&endTime=2017-06-19T21:09:05.230Z&event_id=6d840ad7-8ccb-4408-9f58-3caa5a56c5cd",
"policyLink": "https://uat.netuitive.com#/policies/970f2e8e-1813-49f7-97df-7db8c6e1636d",
"externalEvent": {
"source": "ing.custom.event.source",
"title": "ing.custom.event.title",
"tags": [
{
"name": "ing-custom-event-tag",
"value": "ing-custom-event-tag-value"
}
],
"data": {
"level": "INFO",
"message": "warning event on ing.custom.server"
}
},
"images": [{
"elementFqn": "rss-home",
"metricFqn": "netuitive.linux.network.eth0.packets",
"url": "https://s3.amazonaws.com/com-netuitive-uat-use1-images/6ca80d50-b141-4336-a88a-b4cc8fe18220/2017/06/19/21-09-04-image-e5f713c8-4a36-4168-adb2-f11c3919b485.png"
}]
}
}
この内容はお役に立ちましたか?