• 製品
  • 使用を開始する
  • 関連ドキュメント
  • リソース

Opsgenie を Pingdom と統合する

Pingdom ロゴ

概要

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

Pingdom 統合によって、エスカレーション、オンコール スケジュール管理、優れたアラート通知制御などの Opsgenie の高度なアラートと通知の管理機能を活用できます。

統合による機能

Pingdom でアラートが作成されると、統合によって Opsgenie でもアラートが自動で作成されます。アラートが Pingdom でクローズされると、関連するアラートが Opsgenie でもクローズされます。

統合をセットアップする

Pingdom は API ベースの統合です。次のステップに沿ってセットアップを行います。

  • OpsgeniePingdom 統合を追加する

  • Pingdom で統合を設定する

Pingdom 統合を追加する

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

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

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

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

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

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

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

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

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

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

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

  7. [統合を設定するステップ] セクションを展開して、Webhook URL をコピーします。
    この URL は、後ほど Pingdom で統合を設定する際に使用します。

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

Pingdom で統合を設定する

  1. Pingdom ダッシュボードに移動します。

  2. [設定] > [統合] > [統合を追加] の順に選択します。

  3. [タイプ] には「Webhook」を選択します。

  4. [Webhook 名] に名前を入力します。

  5. Opsgenie で統合を追加する際にコピーした API URL を [Webhook URL] に貼り付けます。

  6. [アクティブ] チェックボックスが選択されているか、ご確認ください。

  7. [統合を保存] を選択します。
    これで、Webhook 統合が「アップタイム」チェックと「トランザクション」チェックで利用できます。

  8. 「チェック」設定で [Opsgenie Webhook 統合] が選択されているか、ご確認ください。

Pingdom Close から送信されたペイロードのサンプル

HTTP チェック [POST] (JSON 形式)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 { "check_id": 12345, "check_name": "Name of HTTP check", "check_type": "HTTP", "check_params": { "basic_auth": false, "encryption": true, "full_url": "https://www.example.com/path", "header": "User-Agent:Pingdom.com_bot", "hostname": "www.example.com", "ipv6": false, "port": 443, "url": "/path" }, "tags": [ "example_tag" ], "previous_state": "UP", "current_state": "DOWN", "state_changed_timestamp": 1451610061, "state_changed_utc_time": "2016-01-01T01:01:01", "long_description": "Long error message", "description": "Short error message", "first_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Stockholm, Sweden" }, "second_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Austin, US" } }

Ping チェック [POST] (JSON 形式)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 { "check_id": 12345, "check_name": "Name of Ping check", "check_type": "PING", "check_params": { "hostname": "www.example.com", "basic_auth": false, "ipv6": false }, "tags": [ "example_tag" ], "previous_state": "UP", "current_state": "DOWN", "state_changed_timestamp": 1451610061, "state_changed_utc_time": "2016-01-01T01:01:01", "long_description": "Long error message", "description": "Short error message", "first_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Stockholm, Sweden" }, "second_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Austin, US" } }

IMAP チェック [POST] (JSON 形式)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 { "check_id": 12345, "check_name": "Name of IMAP check", "check_type": "IMAP", "check_params": { "hostname": "www.example.com", "basic_auth": false, "encryption": false, "ipv6": false, "port": 143 }, "tags": [ "example_tag" ], "previous_state": "UP", "current_state": "DOWN", "state_changed_timestamp": 1451610061, "state_changed_utc_time": "2016-01-01T01:01:01", "long_description": "Long error message", "description": "Short error message", "first_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Stockholm, Sweden" }, "second_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Austin, US" } }

トランザクション チェック [POST] (JSON 形式)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 { "check_id": 12345, "check_name": "Name of transaction check", "check_type": "TRANSACTION", "check_params": { "encryption": true, "port": 443, "url": "https://www.example.com/" }, "tags": [ "example_tag" ], "previous_state": "FAILING", "current_state": "SUCCESS", "state_changed_timestamp": 1451610061, "state_changed_utc_time": "2016-01-01T01:01:01", "description": "Error message", "first_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Stockholm, Sweden" }, "second_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Austin, US" } }

その他のヘルプ