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

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 と ThousandEyes を統合する

ThousandEyes のロゴ

概要

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

ThousandEyes プラットフォームにより、高度にカスタマイズ可能なアラート ルールを設定し、それらをテストに割り当てて、関心のあるイベントをハイライトまたは通知することができます。ThousandEyes の統合によって、Opsgenie はこれらのアラートのディスパッチャーとして機能し、オンコール スケジュールに基づいて通知する適切な担当者を決定します。メール、テキスト メッセージ (SMS)、電話、iPhone、Android のプッシュ通知によって通知し、承認されるかクローズされるまでアラートをエスカレートします。

統合による機能

アラートに割り当てられたテスト結果が条件を満たすと、アラート通知がトリガーされます。また、統合によって、Opsgenie でもアラートが自動で作成されます。アラートが ThousandEyes でクリアされると、そのアラートは Opsgenie でもクローズされます。

統合をセットアップする

ThousandEyes は API ベースの統合です。設定は次の手順で行います。

  • OpsgenieThousandEyes の統合を追加する

  • ThousandEyes で統合を設定する

ThousandEyes の統合を追加する

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

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

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

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

OpsgenieThousandEyes の統合を追加するには、次の手順に従います。

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

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

  3. チームのオペレーション ページに移動します

  4. 左側のナビゲーション パネルで、[統合]、[統合を追加] の順に選択します。

  5. 検索を実行して「ThousandEyes」を選択します。

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

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

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

  9. [統合を設定する手順] セクションを展開して、API URL をコピーします。
    この URL は、後ほど ThousandEyes で統合を設定する際に使用します。

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

ThousandEyes で統合を設定する

1. In ThousandEyes, select Alerts > Alert Rules from the side menu.

2. [Cloud and Enterprise Agents (Cloud エージェントと Enterprise エージェント)] タブで、[Add New Alert Rule (新しいアラートルールを追加)] を選択してアラート ルールを作成します。

3. [Notifications (通知)] タブに移動します。

4. [Webhooks (Webhook)] セクションで、[Edit Webhooks (Webhook の編集)] を選択します。

5. [Add New Webhook (新しい Webhook の追加)] を選択します。

6. Paste the API URL you copied while adding the integration in Opsgenie into URL.

ThousandEyes の Webhook 編集

7. [Save Webhook (Webhook の保存)] を選択して、Webhook を保存します。

8. [Select Webhooks (Webhook の選択)] ドロップダウンから、追加したWebhook を選択します。

9. [Create New Alert Rule (新しいアラート ルールを作成)] を選択して、ルールを保存します。

ThousandEyes から送信されるペイロードのサンプル

アラート ペイロード (JSON 形式) を作成する

{ "eventType":"ALERT_NOTIFICATION_TRIGGER", "eventId":"8416215-4867000", "alert":{ "agents":[ { "active":1, "metricsAtStart":"Error Type: \"Connect\"", "metricsAtEnd":"", "agentId":4522, "agentName":"Amsterdam, Netherlands (Trial)", "dateStart":"2016-06-07 08:48:08", "permalink":"https://app.thousandeyes.com/web/http-server?__a=50664&testId=106681&roundId=1465289288&agentId=4522" }, { "dateStart": "2014-03-24 19:01:48", "active": 1, "metricsAtStart": "Error type: \"DNS\"", "metricsAtEnd": "Error type: \"DNS\"", "agentId": 108, "agentName": "Boston, MA", "permalink": "https://app.thousandeyes.com/web/http-server?__a=11&testId=5176&roundId=1395699129&agentId=108" } ], "alertId":4867000, "dateStart":"2016-06-07 08:48:08", "apiLinks":[ { "rel":"related", "href":"https://api.thousandeyes.com/tests/106681" }, { "rel":"data", "href":"https://api.thousandeyes.com/web/http-server/106681" } ], "permalink":"https://app.thousandeyes.com/web/http-server?__a=50664&testId=106681&roundId=1465289288", "ruleExpression":"Error Type is any", "ruleName":"Default HTTP Alert Rule", "ruleId": 414881, "testId":106681, "testName":"test1", "violationCount":1, "type":"HTTP Server" } }

Opsgenie によって解析されたペイロード (JSON 形式)

[ "eventId" : "8416215-4867000", "eventType" : "ALERT_NOTIFICATION_TRIGGER", "ruleExpression" : "Error Type is any", "type" : "HTTP Server", "agents" : "Agents: Id:4522 Name:Amsterdam, Netherlands (Trial) Active:1 MetricsAtStart:Error Type: "Connect" MetricsAtEnd: Id:108 Name:Boston, MA Active:1 MetricsAtStart:Error type: "DNS" MetricsAtEnd:Error type: "DNS" ", "violationCount" : "1", "dateStart" : "2016-06-07 08:48:08", "ruleName" : "Default HTTP Alert Rule", "testId" : "106681", "alertId" : "4867000", "permalink" : "https://app.thousandeyes.com/web/http-server?__a=50664&testId=106681&roundId=1465289288", "ruleId" : "414881", "testName" : "test1" ] Close Alert payload: { "eventType": "ALERT_NOTIFICATION_CLEAR", "eventId": "8416248-4867000", "alert": { "agents": [ { "active": 0, "metricsAtStart": "Error Type: \"Connect\"", "metricsAtEnd": "Error Type: \"None\"", "agentId": 4522, "agentName": "Amsterdam, Netherlands (Trial)", "dateStart": "2016-06-07 08:48:08", "permalink": "https://app.thousandeyes.com/web/http-server?__a=50664&testId=106681&roundId=1465289288&agentId=4522" } ], "alertId": 4867000, "dateEnd": "2016-06-07 08:50:05", "dateStart": "2016-06-07 08:48:08", "apiLinks": [ { "rel": "related", "href": "https://api.thousandeyes.com/tests/106681" }, { "rel": "data", "href": "https://api.thousandeyes.com/web/http-server/106681" } ], "permalink": "https://app.thousandeyes.com/web/http-server?__a=50664&testId=106681&roundId=1465289288", "ruleExpression": "Error Type is any", "ruleName": "Default HTTP Alert Rule", "ruleId" : "414881", "testId": 106681, "testName": "test1", "violationCount": 1, "type": "HTTP Server" } }

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

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