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

Opsgenie を BMC TrueSight と統合する

Opsgenie が BMC TrueSight Pulse ユーザーに提供するもの

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

統合の機能性

BMC TrueSight Pulse でアラートが作成されると、インテグレーションによって Opsgenie でアラートが自動で作成されます。

Opsgenie で BMC TrueSight Pulse インテグレーションを追加する

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

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

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

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

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

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

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

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

BMC TrueSight Pulse での設定

  1. BMC TrueSight Pulse で、[設定] > [アクション] の順に移動します

  2. [アクションを追加] > [opsgenie] を選択します。

BMC TrueSight Pulse の設定

3. アクション名を Opsgenie に設定し、以前コピーした API キーを貼り付けます。

BMC TrueSight Pulse の設定

4. [保存] をクリックします。

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

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

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

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

BMC TrueSight Pulse アラームの設定

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" } } } }

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

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" } } } }

その他のヘルプ