Opsgenie を Wavefront と統合する
Opsgenie が Wavefront ユーザーに提供するもの
Opsgenie の Wavefront インテグレーションを使用して、Wavefront アラートを Opsgenie に転送します。Opsgenie はこれらのアラートのディスパッチャーとして機能して、オンコール スケジュールに基づいて通知する適切な担当者を決定します。メール、テキスト メッセージ (SMS)、電話、iPhone、Android のプッシュ通知によって通知し、アラートが承認されるかクローズされるまでアラートをエスカレートします。
統合の機能性
Wavefront でアラートが発生すると、インテグレーションによって Opsgenie でアラートが自動的に作成されます。
Wavefront でアラートが解決されると、インテグレーションによって Opsgenie でアラートが自動的にクローズされます。
Opsgenie で Wavefront インテグレーションを追加する
Opsgenie の Free プランまたは Essentials プランを使用している、または Jira Service Management の Standard プランで Opsgenie を使用している場合は、チーム ダッシュボードからのみこの統合を追加できます。 このプランでは、[設定] の [統合] ページが利用できません。
[チーム] に移動して自分のチームを選択します。
左側のナビゲーションで [統合] を選択し、[統合を追加] を選択します。
統合をチーム ダッシュボードから追加すると、そのチーム統合の所有者になります。Opsgenie では、この統合を通じて受信したアラートはそのチームのみに割り当てられます。このセクションの残りの手順に従って、統合を設定してください。
Go to Settings > Integrations. Search for Wavefront and select Add.
Specify who is notified of Wavefront alerts using the Responders field. Auto-complete suggestions are provided as you type.
Webhook の URL をコピーします。
[Save Integration (統合の保存)] を選択します。
Wavefront での設定
In Wavefront, click Browse in the top menu.
[Web Hooks (Webhook)] を選択します。
このページの右上にある [Create (作成)] をクリックします。
[Title (タイトル)] フィールドに入力し、[Alert Opened (アラートのオープン)] と [Alert Resolved (アラートの解決)] をトリガーとして選択します。
API URL を [URL] フィールドに貼り付けます。
[Content Type (コンテンツタイプ)] フィールドで [application/json] を選択します。
[Web Hook POST Body Template (Web Hook POST Body テンプレート)] フィールドに入力するか、[既定のテンプレート] を選択します。
[Description (説明)] フィールドに入力します。
[保存] をクリックします。
Wavefront から送信されるペイロードのサンプル
JSON
{
"alertId": "1471312865666",
"notificationId": "ae63a700-9e0b-4c13-816b-5caa3acf4f63",
"reason": "ALERT_OPENED",
"name": "Example Alert",
"severity": "INFO",
"severitySmoke": false,
"severityInfo": true,
"severityWarn": false,
"severitySevere": false,
"condition": "mmax(5m, ts(~sample.requests.latency, env=production)) > 100",
"url": "https://try.wavefront.com/u/pSNB7gHXPn",
"createdTime": "08/16/2016 02:01:05 +0000",
"startedTime": "08/16/2016 10:05:21 +0000",
"sinceTime": "08/16/2016 10:03:21 +0000",
"endedTime": "",
"snoozedUntilTime": "",
"subject": "[INFO] OPENED: Example Alert",
"hostsFailingMessage": "app-6 (~sample.requests.latency) [env=production][az=us-west-2]\napp-7 (~sample.requests.latency) [env=production][az=us-west-2]\napp-9 (~sample.requests.latency) [env=production][az=us-west-2]\napp-20 (~sample.requests.latency) [env=production][az=us-west-2]\napp-10 (~sample.requests.latency) [env=production][az=us-west-2]\napp-15 (~sample.requests.latency) [env=production][az=us-west-2]\napp-14 (~sample.requests.latency) [env=production][az=us-west-2]\napp-13 (~sample.requests.latency) [env=production][az=us-west-2]\napp-11 (~sample.requests.latency) [env=production][az=us-west-2]\napp-12 (~sample.requests.latency) [env=production][az=us-west-2]\napp-19 (~sample.requests.latency) [env=production][az=us-west-2]\napp-8 (~sample.requests.latency) [env=production][az=us-west-2]\napp-17 (~sample.requests.latency) [env=production][az=us-west-2]\napp-18 (~sample.requests.latency) [env=production][az=us-west-2]\napp-16 (~sample.requests.latency) [env=production][az=us-west-2]",
"errorMessage": "",
"additionalInformation": "",
"failingSources": [
"app-6",
"app-7",
"app-9",
"app-20",
"app-10",
"app-15",
"app-14",
"app-13",
"app-11",
"app-12",
"app-19",
"app-8",
"app-17",
"app-18",
"app-16"
],
"inMaintenanceSources": [],
"newlyFailingSources": [
"app-17",
"app-7",
"app-19",
"app-13",
"app-20",
"app-15",
"app-6",
"app-11",
"app-16",
"app-18",
"app-8",
"app-9",
"app-14",
"app-12",
"app-10"
],
"recoveredSources": [],
"failingSeries": [
[
"app-6",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-7",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-9",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-20",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-10",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-15",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-14",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-13",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-11",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-12",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-19",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-8",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-17",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-18",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-16",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
]
],
"inMaintenanceSeries": [],
"newlyFailingSeries": [
[
"app-17",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-7",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-19",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-13",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-20",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-15",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-6",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-11",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-16",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-18",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-8",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-9",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-14",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-12",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-10",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
]
],
"recoveredSeries": []
}
この内容はお役に立ちましたか?