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

BMC TrueSight Pulse と統合する

この記事では、Jira Service Management Cloud の一部のお客様に段階的に展開されている、Jira Service Management でネイティブに利用できる新しいアラート機能を取り上げています。ご利用のサイトにはまだ表示されていないか、利用できない可能性があります。

BMC のロゴ

統合でできるようになること

BMC TrueSight Pulse は、アラームの通知を送信します。BMC TrueSight Pulse 統合によって、Jira Service Management はこれらのアラームのディスパッチャーとして機能し、オンコール スケジュールに基づいて通知すべき担当者を決定します。メール、テキスト メッセージ(SMS)、電話、iPhone や Android のプッシュ通知による通知を行い、アラートが承認またはクローズされるまでアラートをエスカレートします。

統合による機能

BMC TrueSight Pulse でアラートが作成されると、統合を通じて Jira Service Management でアラートが自動的に作成されます。

統合をセットアップする

BMC TrueSight Pulse は API 統合です。セットアップは次の手順で行います。

  • Jira Service ManagementBMC TrueSight Pulse 統合を追加する

  • BMC TrueSight Pulse で統合を設定する

BMC TrueSight Pulse 統合を追加する

Jira Service Management の Free プランまたは Standard プランを使用している場合は、この統合はチームの運用ページからのみ追加できます。Settings (歯車のアイコン) > Products ([Jira 設定] の下) > OPERATIONS からこの機能にアクセスするには、Premium プランまたは Enterprise プランが必要です。

統合をチームの運用ページから追加すると、そのチームが統合の所有者になります。つまり、Jira Service Management は、この統合を通じて受信したアラートをチームにのみ割り当てます。

Jira Service ManagementBMC TrueSight Pulse 統合を追加するには、次の手順を実行します。

  1. チームの運用ページに移動します。

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

  3. BMC TrueSight Pulse」を検索して、選択します。

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

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

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

  7. [統合を設定する手順] セクションを展開して、API キーをコピーします。
    このキーは、後ほど BMC TrueSight Pulse の統合を設定する際に使用します。

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

BMC TrueSight Pulse で統合を設定する

BMC TrueSight PulseJira Service Management 統合を設定するには、次の手順を実行します。

  1. [設定] > [アクション] の順に移動します。

  2. [アクションを追加] > [Jira Service Management] の順に選択します。

  3. [名前] に「Opsgenie」と入力します。

  4. 先ほどコピーした API キーを [API キー] に貼り付けます。

  5. [保存] を選択します。

  6. [設定] > [アラーム] の順に移動します。

  7. 新しいアラームを追加するか、既存のアラームを編集します。

  8. [アクション] で Opsgenie アクションを追加します。

  9. アラームによって監視されるグループ内の各サーバーの通知を受信するには、[すべての変更に対して通知] を選択します。

BMC TrueSight Pulse から送信されるペイロードの例

アラート ペイロード (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 { "alarmName": "CPU usage is high", "status": "TRIGGERED", "metric": { "id": "cpu", "name": "CPU utilization", "type": "percent" }, "affectedServers": { "boundary": { "isSet": true, "hostname": "boundary", "aggregate": "avg", "metric": "CPU utilization", "value": 0.027916727272727274, "threshold": 0.02, "time": 1421887800000, "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887800000!cpu", "text": { "isSet": true, "serverName": "boundary", "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887800000!cpu", "labelHTML": "Server boundary's avg CPU utilization is 2.8% which is greater than the threshold of 2.0%", "labelText": "Server boundary's avg CPU utilization is 2.8% which is greater than the threshold of 2.0%" } } }, "boundary2": { "isSet": true, "hostname": "boundary2", "aggregate": "avg", "metric": "CPU utilization", "value": 0.027916727272727274, "threshold": 0.02, "time": 1421887800000, "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887800000!cpu", "text": { "isSet": true, "serverName": "boundary2", "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887800000!cpu", "labelHTML": "Server boundary's label", "labelText": "Server boundary's avg CPU utilization is 2.8% which is greater than the threshold of 2.0%" } }, "resolvedServers": { "boundary": { "isSet": false, "hostname": "boundary", "aggregate": "avg", "metric": "CPU utilization", "value": 0.004986516666666667, "threshold": 0.02, "time": 1421887380000, "text": { "isSet": false, "serverName": "boundary", "labelHTML": "Server boundary's avg CPU utilization has returned to the acceptable 0.5%", "labelText": "Server boundary's avg CPU utilization has returned to the acceptable 0.5%", "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887380000!cpu" } } } }

このペイロードは、Jira Service Management によって次のように解析されます。

(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 { "alarmName": "CPU usage is high", "status": "TRIGGERED", "metricId": "cpu", "metricName": "CPU utilization", "type": "percent", "affectedServers": { "boundary": { "isSet": true, "hostname": "boundary", "aggregate": "avg", "metric": "CPU utilization", "value": 0.027916727272727274, "threshold": 0.02, "time": 1421887800000, "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887800000!cpu", "text": { "isSet": true, "serverName": "boundary", "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887800000!cpu", "labelHTML": "Server boundary's avg CPU utilization is 2.8% which is greater than the threshold of 2.0%", "labelText": "Server boundary's avg CPU utilization is 2.8% which is greater than the threshold of 2.0%" } } }, "resolvedServers": { "boundary": { "isSet": false, "hostname": "boundary", "aggregate": "avg", "metric": "CPU utilization", "value": 0.004986516666666667, "threshold": 0.02, "time": 1421887380000, "text": { "isSet": false, "serverName": "boundary", "labelHTML": "Server boundary's avg CPU utilization has returned to the acceptable 0.5%", "labelText": "Server boundary's avg CPU utilization has returned to the acceptable 0.5%", "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887380000!cpu" } } } }

その他のヘルプ