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

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. Go to Settings > Integrations. Search for Azure Event Hubs and select Add.

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

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

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

BMC TrueSight Pulse での設定

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

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

BMC TrueSight Pulse の設定

3. Set the Action name to Opsgenie and paste the API Key you copied before.

BMC TrueSight Pulse の設定

4. Click Save.

5. Go to Settings -> Alarms.

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

7. Under Actions add an Opsgenie action.

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

BMC TrueSight Pulse アラームの設定

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

アラートのペイロードを作成します。

JSON

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

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

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

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