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

Opsgenie を Uptime.com と統合する

Uptime のロゴ

Opsgenie が Uptime.com ユーザーに提供するもの

OpsgenieUptime.com 統合を使用して、Uptime.com のアラートを Opsgenie に転送できます。Opsgenie はこれらのアラートのディスパッチャーとして機能して、オンコール スケジュールに基づいて通知する適切な担当者を決定します。メール、テキスト メッセージ (SMS)、電話、iPhone、Android のプッシュ通知によって通知し、アラートが確認されるかクローズされるまでアラートをエスカレートします。

統合の機能性

  • Uptime.com でアラートが作成されると、統合によって Opsgenie でアラートが自動的に作成されます。

  • アラートが Uptime.com でクリアされると、関連するアラートが Opsgenie でクローズされます。

Opsgenie に Uptime.com 統合を追加する

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

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

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

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

  1. [設定] > [統合] の順に移動します。Uptime.com を検索して、[追加] を選択します。 

  2. [応答者] フィールドを使用して、Uptime.com アラートの通知先を指定します。入力し始めると、オートコンプリートの候補が表示されます。

  3. API キーをコピーします。

  4. [Save Integration (統合の保存)] を選択します。

Uptime.com での設定

  1. Uptime.com で、左側のパネルから [Alerting (アラート)] を選択します。

Uptime のダッシュボード

2. [Push Notifications (プッシュ通知)]、[New Profile (新しいプロファイル)] の順に選択します。

Uptime のプッシュ通知

3. [Opsgenie] を選択します。

4. 以前にコピーした API キーを [API Key (API キー)] フィールドに貼り付けて、[Save (保存)] をクリックします。

Uptime のプッシュ通知プロファイルの追加

5. [Contacts (連絡先)] を選択し、通知を送信する連絡先のすぐ隣にある設定アイコンを選択して [Edit (編集)] をクリックします。

Uptime の連絡先

6. 作成したプロファイルを [Push Notifications (プッシュ通知)] セクションに追加し、[Save (保存)] をクリックします。

Uptime の連絡先編集

Opsgenie Uptime.com からの Webhook メッセージのサンプル

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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 { "data": { "account": { "id": 26465, "name": "Test" }, "service": { "msp_script": "", "msp_dns_server": "", "msp_password": "", "monitoring_service_type": "HTTP", "msp_url_path": "/404", "id": 119395, "display_name": "Testing low", "msp_headers": "", "msp_address": "https://www.fool.com/404", "msp_threshold": null, "msp_url_scheme": "https", "msp_port": null, "msp_expect_string": "", "msp_notes": "", "monitoring_service_type_display": "HTTP(S)", "msp_send_string": "", "msp_encryption": "", "device_id": 85474, "is_paused": false, "msp_dns_record_type": "", "msp_username": "", "name": "Testing low", "msp_sensitivity": 2, "msp_interval": 1 }, "SITE_URL": "https://uptime.com", "integration": { "is_enabled": true, "module_verbose_name": "Custom Postback URL (Webhook)", "name": "opsgenie test", "use_legacy_payload": false, "id": 172, "module": "webhook", "postback_url": "http://api.opsgenie.com/v1/json/uptime" }, "locations": [ "US-East", "US-West" ], "device": { "is_paused": false, "address": "www.fool.com", "display_name": "www.fool.com", "id": 85474, "name": "" }, "global_alert_state": { "ignored": false, "state_has_changed": true, "created_at": "2017-04-08T22:07:34.334Z", "state_is_up": false, "num_locations_down": 2, "id": 19972168 }, "date": "2017-04-08T22:07:34.334Z", "alert": { "created_at": "2017-04-08T22:07:34.334Z", "state": "WARNING", "short_output": "HTTP WARNING: HTTP/1.1 404 Not Found - 2759 bytes in 0.046 second response time", "is_up": false, "output": "HTTP WARNING: HTTP/1.1 404 Not Found - 2759 bytes in 0.046 second response time\n\ntime=0.045705s;;;0.000000 size=2759B;;;0", "id": 19883486 } }, "event": "alert_raised" }

その他のヘルプ