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

Opsgenie を Sysdig Cloud と統合する

Sysdig のロゴ

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

Opsgenie で Sysdig Cloud インテグレーションを追加する

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

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

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

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

  1. Go to Settings > Integrations. Search for Sysdig Cloud and select Add

  2. Specify who is notified of Sysdig Cloud alerts using the Responders field. Auto-complete suggestions are provided as you type.

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

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

Sysdig Cloud での設定

  1. In Sysdig Cloud, go to Notification Channels under Settings.

  2. [Add Notification Channel (通知チャンネルの追加)] と [Opsgenie] をそれぞれクリックします。

Sysdig Cloud の通知

3. 前にコピーしたインテグレーション API キーを [API Key (API キー)] フィールドに貼り付けます。

4. チャンネル名を入力します。

5. [Enabled (有効)] と [Test notification (テスト通知)] がアクティブになっていることを確認し、[SAVE (保存)] をクリックします。

Sysdig Cloud の新しい Opsgenie チャンネル
Sysdig Cloud の送信されたテスト通知

6. Go to Alerts from Opsgenie navigation and check if test alert is created.

Sysdig Cloud のアラート

7. Go to Alerts tab of Sysdig Cloud.

8. Choose an alert, enable Opsgenie integration under Notify section and click SAVE.

Sysdig Cloud の CPU 使用率の警告

9. 選択したアラートを有効にします。

Sysdig Cloud のアラートの有効化

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

JSON

{ "timestamp": 1552549316624000, "timespan": 600000000, "alert": { "severity": 2, "editUrl": "https://app.sysdigcloud.com/#/alerts/5757", "scope": "host.mac = \"08:00:27:70:1a:03\"", "name": "TEST ALERT: Testing Notification Channel Test", "description": "Alert description", "id": 5757 }, "event": { "id": 8724, "url": "https://app.sysdigcloud.com/#/events/notifications/l:604800/8724/details", "username": "test@opsgenie.com" }, "state": "ACTIVE", "resolved": false, "entities": [ { "entity": "host.mac = '08:00:27:70:1a:03' and container.name = 'container1_0'", "metricValues": [ { "metric": "cpu.used.percent", "aggregation": "avg", "groupAggregation": "avg", "value": 90.67236455788036 } ], "additionalInfo": [ { "metric": "host.hostName", "value": "Host-0" } ] } ], "condition": "avg(cpu.used.percent) > 85", "source": "Sysdig Cloud" }

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

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