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

Opsgenie を Pingdom と統合する

Pingdom ロゴ

概要

What does the integration offer?

With the Pingdom integration, you can take advantage of Opsgenie’s advanced alert & notifications management capabilities, such as escalations, on-call schedule management, and extensive alert notification controls.

How does the integration work?

When an alert is created in Pingdom, an alert is also created in Opsgenie automatically through the integration. When the alert is closed in Pingdom, the related alert is also closed in Opsgenie.

統合をセットアップする

Pingdom is an API-based integration. Setting it up involves the following steps:

  • Add a Pingdom integration in Opsgenie

  • Configure the integration in Pingdom

Add a Pingdom integration

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

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

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

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

To add a Pingdom integration in Opsgenie:

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

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

  3. Run a search and select “Pingdom”.

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

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

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

  7. Expand the Steps to configure the integration section and copy the Webhook URL.
    You will use this URL while configuring the integration in Pingdom later.

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

Configure the integration in Pingdom

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

  2. Select Settings > Integrations > Add integration.

  3. Select "Webhook" for Type.

  4. Enter a name into Webhook name.

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

  6. Check if the Active checkbox is selected.

  7. Select Save integration.
    The Webhook integration is ready to use in "Uptime" and "Transaction" checks.

  8. Ensure Opsgenie Webhook integration is selected in the "Check" settings.

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

HTTP check [POST] (in JSON format)

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 check [POST] (in JSON format)

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 check [POST] (in JSON format)

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" } }

Transaction check [POST] (in JSON format)

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" } }

その他のヘルプ