IBM Watson AIOps 警示通道

若要即時將警示通知從 Instana 傳送至 IBM Watson AIOps ,請建立 IBM Watson AIOps 警示通道

建立 Google Chat 警示頻道

若要建立 IBM Watson AIOps 警示通道,請在 Instana 使用者介面中按一下 設定 > 團隊設定 > 事件與警示 > 警示通道 > 新增警示通道

IBM Watson AIOps 警示通道

新增 Watson AIOps Webhook URL ,您可以遵循 送入 Webhook 文件來建立該 URL。

警示範例

建立警示通道之後,會將事件的警示當作 HTTP POST 接收到所配置的 IBM Watson AIOps URL (HTTP 或 HTTPS) ,這是警示將送往的位址。

請參閱下列範例:

在未解決的問題或發生事件上

{
  "resource": {
    "name": "test",
    "hostname": "test.fqdn",
    "displayName": "test",
    "availabilityZone": "zone 1",
    "customZone": "zone",
    "type": "JVM"
  },
  "severity": "Warning",
  "summary": "Garbage Collection Activity High (11%)",
  "type": {
    "eventType": "issue",
    "statusOrThreshold": "OPEN"
  },
  "deduplicationKey": "someId",
  "details": {
    "containerNames": []
  },
  "expiryTime": 86400,
  "timestamp": 1615456994340,
  "sender": {
    "name": "Instana",
    "displayName": "Instana Server"
  },
  "urls": [
    {
      "url": "https://XXXXXXX/#/?snapshotId=rjhkZXdNzegliVVEswMScGNn0YY",
      "description": "Link to Instana"
    }
  ]
}

在關閉問題或發生事件時

將傳送包含類似參數集的解決事件。

{
  "resource": {
    "name": "test",
    "hostname": "test.fqdn",
    "displayName": "test",
    "availabilityZone": "zone 1",
    "customZone": "zone",
    "type": "JVM"
  },
  "severity": "Warning",
  "summary": "Garbage Collection Activity High (11%)",
  "type": {
    "eventType": "issue",
    "statusOrThreshold": "OPEN"
  },
  "deduplicationKey": "someId",
  "details": {
    "containerNames": []
  },
  "timestamp": 1615457004340,
  "sender": {
    "name": "Instana",
    "displayName": "Instana Server"
  },
  "resolution": true,
  "urls": [
    {
      "url": "https://XXXXXXX/#/?snapshotId=rjhkZXdNzegliVVEswMScGNn0YY",
      "description": "Link to Instana"
    }
  ]
}

HTTP 要求標頭

提供自訂 HTTP 要求標頭

部分 Webhook 整合需要可在此區段中新增之其他標頭的規格。 例如,具有 key:value 的 HTTP 標頭。

Webhook URL 基本鑑別

作為手動提供個別 Authorization HTTP 要求標頭的替代方案,您可以使用 Webhook URL 來使用 HTTP 基本鑑別。 透過在主機名稱前面加上 usernamepassword (例如 https://username:password@webhookurl.com) ,認證會自動 Base64-encoded 並提供為下列 HTTP 標頭值:

Authorization: Basic <base64 encoded credentials>