Sysdig Cloud と統合する
Jira Service Management の Sysdig Cloud 統合によって、Sysdig Cloud ユーザーはエスカレーション、オンコール スケジュール管理、優れたアラート通知制御などの Jira Service Management の高機能アラートと通知の管理機能を活用できます。
統合をセットアップする
Sysdig Cloud は API 統合です。次の手順でセットアップを行います。
Jira Service Management で Sysdig Cloud 統合を追加する
Sysdig Cloud で統合を設定する
Sysdig Cloud 統合を追加する
The following capabilities are available in Jira Service Management Premium and Enterprise:
双方向の統合
Outgoing integrations at the team level
Integrations at a site level through Settings (icon) > Products (under Jira settings) > Operations
To access Jira Service Management Premium features, you must subscribe to a Service Collection Premium or Enterprise plan.
Adding an integration from your team’s operations page makes your team the owner of the integration. This means Jira Service Management only assigns the alerts received through this integration to your team.
Jira Service Management で Sysdig Cloud 統合を追加するには、次の手順を実行します。
Next to Operations in the sidebar, select More actions (), then General configuration.
Select Integrations and then Add integration.
検索を実行して「Sysdig Cloud」を選択します。
次の画面で、統合の名前を入力します。
オプション: 特定のチームが統合からのアラートを受信するようにする場合は、[Assignee team (担当者チーム)] のチームを選択します。
[Continue] を選択します。
この時点で、統合が保存されます。[統合を設定する手順] セクションを展開して、API キーをコピーします。
このキーは、後ほど Sysdig Cloud で統合を設定する際に使用します。[統合をオンにする] を選択します。
統合のために作成したルールは、統合をオンにした場合にのみ機能します。
Sysdig Cloud で統合を設定する
Sysdig Cloud で [Settings (設定)] > [Notification Channels (通知チャンネル)] に移動します。
[Add Notification Channel (通知チャンネルを追加)] > [Jira Service Management] を選択します。
以前に Jira Service Management からコピーした API キーを [API キー] に貼り付けます。
[Channel Name (チャンネル名)] に値を入力します。
[Enabled (有効)] と [Test notification (テスト通知)] が有効になっていることを確認します。
[保存] を選択します。
[Alerts (アラート)] ページに移動し、テスト アラートが作成されているかどうかを確認します。
Sysdig Cloud の [Alerts (アラート)] タブに移動します。
アラートを選択し、[Notify (通知)] で Jira Service Management 統合を選択して [SAVE (保存)] を選択します。
選択したアラートを有効にします。
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"
}
この内容はお役に立ちましたか?