BMC TrueSight Pulse と統合する
統合でできるようになること
BMC TrueSight Pulse は、アラームの通知を送信します。BMC TrueSight Pulse 統合によって、Jira Service Management はこれらのアラームのディスパッチャーとして機能し、オンコール スケジュールに基づいて通知すべき担当者を決定します。メール、テキスト メッセージ(SMS)、電話、iPhone や Android のプッシュ通知による通知を行い、アラートが承認またはクローズされるまでアラートをエスカレートします。
統合による機能
BMC TrueSight Pulse でアラートが作成されると、統合を通じて Jira Service Management でアラートが自動的に作成されます。
統合をセットアップする
BMC TrueSight Pulse は API 統合です。セットアップは次の手順で行います。
Jira Service Management で BMC TrueSight Pulse 統合を追加する
BMC TrueSight Pulse で統合を設定する
BMC TrueSight Pulse 統合を追加する
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 で BMC TrueSight Pulse 統合を追加するには、次の手順を実行します。
Next to Operations in the sidebar, select More actions (), then General configuration.
Select Integrations and then Add integration.
「BMC TrueSight Pulse」を検索して、選択します。
次の画面で、統合の名前を入力します。
オプション: 特定のチームが統合からのアラートを受信するようにする場合は、[Assignee team (担当者チーム)] のチームを選択します。
[Continue] を選択します。
この時点で、統合が保存されます。[統合を設定する手順] セクションを展開して、API キーをコピーします。
このキーは、後ほど BMC TrueSight Pulse の統合を設定する際に使用します。[統合をオンにする] を選択します。
統合のために作成したルールは、統合をオンにした場合にのみ機能します。
BMC TrueSight Pulse で統合を設定する
BMC TrueSight Pulse と Jira Service Management 統合を設定するには、次の手順を実行します。
[設定] > [アクション] の順に移動します。
[アクションを追加] > [Jira Service Management] の順に選択します。
[名前] に「Opsgenie」と入力します。
先ほどコピーした API キーを [API キー] に貼り付けます。
[保存] を選択します。
[設定] > [アラーム] の順に移動します。
新しいアラームを追加するか、既存のアラームを編集します。
[アクション] で Opsgenie アクションを追加します。
アラームによって監視されるグループ内の各サーバーの通知を受信するには、[すべての変更に対して通知] を選択します。
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"
}
}
}
}
このペイロードは、Jira Service Management によって次のように解析されます。
(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"
}
}
}
}
この内容はお役に立ちましたか?