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

Dynatrace AppMon と統合する

If you’re a customer who shifted your operations from Opsgenie to Jira Service Management, adding new instances of this integration isn’t possible in Jira Service Management. You can only edit the integrations that originally shifted from Opsgenie.

Dynatrace AppMonn ロゴ

Jira Service Management が Dynatrace AppMon ユーザーにもたらすメリット

Jira Service ManagementDynatrace AppMon との強力な双方向の統合に対応しています。Dynatrace AppMon で新しいインシデントが作成されると、インシデントに関する詳しい情報を含む、対応する Jira Service Management アラートが自動的に作成されます。Jira Service Management には、オンコール ローテーション、スケジューリング機能、アラート エスカレーションを含む充実した通知が用意されているため、Dynatrace AppMon を利用されているお客様は最高クラスのインシデント管理を実現できます。

統合の機能性

  • Dynatrace AppMon でインシデントが作成されると、Jira Service Management でアラートが作成されます。

  • インシデントが Dynatrace AppMon でクローズされると、関連するアラートが Jira Service Management で自動的にクローズされます。

  • [Send Alert Updates Back to Dynatrace AppMon (アラートの更新を Dynatrace AppMon に送り返す)] が有効になっている場合、Dynatrace AppMon 統合によって作成されたアラートに対して Jira Service Management で選択されたアクションが実行されると、Dynatrace AppMon のアクションが Dynatrace AppMon で実行されます。

Jira Service Management で Dynatrace AppMon 統合を編集する

Jira Service ManagementDynatrace AppMon 統合を編集するには、次の手順を実行します。

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

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

  3. Dynatrace AppMon 統合を検索します。

  4. 必要に応じて統合の設定とルールを編集します。

該当する場合は以降のセクションの指示に従ってください。

Dynatrace AppMon で統合を設定する

  1. まず、Dynatrace AppMon プラグインをダウンロードします。

  2. Dynatrace クライアントに移動し、[ツール] メニューから [プラグインの管理] を選択します。

Dynatrace AppMon 管理プラグイン

3. 次に、開いたウィンドウで [Install Plugin (プラグインのインストール)] をクリックします。

Dynatrace AppMon 設定プラグイン

4. 以前にダウンロードしたプラグイン JAR を選択し、[開く] をクリックします。

Dynatrace AppMon ダウンロード プラグイン

5. 次に、表示されたプラグインから [Opsgenie プラグイン] を選択し、[プロパティ] をクリックします。

Dynatrace AppMon プラグイン プロパティ

 6. 前にコピーしたインテグレーション URL を、[プラグインのプロパティ] ウィンドウの [Webhook URL] フィールドに貼り付けます。このフィールドは、インシデント ルールの編集中に異なるインテグレーションを使用するように設定されます。

7. Enter the team names that exist in Jira Service Management so that alerts can be created in Jira Service Management for those specific teams only. This field can be kept empty and configured during Edit Incident Rule in order to assign different alerts to different teams in Jira Service Management.

Dynatrace AppMon プラグインのプロパティの設定

8. [OK] をクリックし、左側のメニューから [インシデント] にアクセスします。

Dynatrace AppMon インシデント

9. From Incidents, select the incident to use for Jira Service Management alerts and choose Edit Incident Rule from the dropdown menu.

Dynatrace AppMon インシデント ルールの編集

10. [アクション] タブの [詳細設定] をクリックします。

Dynatrace AppMon 高度な設定アクション タブ

11. 次に、[追加] をクリックします。

Dynatrace AppMon インシデント ルールの編集

12. Select Dynatrace Plugin from the listed plugins and click AddFields in Properties part to be configured here in order to use different integration or assign alerts to different teams in Jira Service Management.

Dynatrace AppMon 新しいルール アクションの追加

13. [実行] オプションとして [インシデント開始] を選択し、[OK] をクリックします。

Dynatrace AppMon インシデント実行

OEC を介した統合

または、Jira Service Management の JEC と Dynatrace AppMon スクリプトを使用して、Dynatrace AppMon でアクションを実行します。これによって、独自のスクリプトや機能をデプロイして提供された機能を変更し、カスタマイズしたアクションを Dynatrace AppMon で実行できます。

Dynatrace AppMon インテグレーション パッケージを使用するには、以下のセクションのステップを最後まで実行します。

OEC の最新バージョンをダウンロードする

To download the latest version of Dynatrace AppMon package, please use readme file of oec-scripts repository.

インストール

Red Hat ベースのディストリビューションの場合

  • 次のコマンドを実行します。rpm -i opsgenie-dynatraceappmon-<your_version>.rpm

Debian ベースのディストリビューションの場合

  • 次のコマンドを実行します。dpkg -i opsgenie-dynatraceappmon-<your_version>.deb

Windows の場合

  • OEC パッケージを含む opsgenie integration の zip ファイルをディレクトリ内に解凍します (C:\opsgenie\oec は優先パスです)。

便宜上、この解凍パスを %OEC_HOME% として参照できます。解凍場所の値を実行予定 OEC_HOME というシステム環境変数を作成して昇格した Powershell セッションを開き、次のコマンドを入力します。

テキスト

[Environment]::SetEnvironmentVariable("OEC_HOME", <Path where you extracted OEC package>, 'Machine')

OEC 用の Dynatrace AppMon インテグレーションの設定

  • OEC ユーティリティを使用するには、[OEC 経由で送信] を有効にします

  • Other configurations regarding Dynatrace AppMon can be done either via integration page or OEC configuration file config.json. The configuration via the integration page precedes the configuration file.

Dynatrace AppMon OEC

OEC 設定

To be able to execute actions in Dynatrace AppMon, OEC gets the configuration parameters from the configuration file /home/opsgenie/oec/conf/config.json (Linux) or %OEC_HOME%\conf\config.json (Windows).

設定パラメーター

  • apiKey – 上記で作成した Dynatrace AppMon インテグレーションから API キーをコピーします。

  • userName – Dynatrace AppMon のユーザー名。

  • password – Dynatrace AppMon ユーザーのパスワード。

  • url – アクションが送信される Dynatrace AppMon の URL (ex:https://localhost:8021)。

  • profileName – 対応するシステムプロファイルの名前。

The package that you downloaded also includes OEC utility which is located at path /usr/local/bin/OpsgenieEdgeConnector (Linux) or %OEC_HOME%\OpsgenieEdgeConnector.exe (Windows) and the script that is needed to be run by OEC which is under /home/opsgenie/oec/scripts/actionExecutor.py (Linux) or %OEC_HOME%\scripts\actionExecutor.py (Windows). After the configuration of OEC is done, you need to run it. In order to learn more about how to run OEC, you can refer to the Running OEC documentation.

Dynatrace AppMon の設定

  1. Dynatrace サーバーに移動し、左側のメニューからに [ユーザー] を選択します。

Dynatrace サーバー

2. [ユーザー] ウィンドウで、ユーザーのロールを選択します。

Dynatrace サーバー ユーザー

3. このユーザー ロールの権限を確認し、ユーザー ロールにインシデントの分析、インシデントの管理、Web サービス インターフェイス アクセスがない場合は追加します。

Dynatrace サーバー権限の選択

OEC に送信されるパラメーターの例

JSON

{ "type":"DynatraceAppMon", "alertId":"0e321daf-6532-4277-a61c-83d90dea9969", "customerId":"d17aae0e-7730-4788-bbd5-a306816287d3", "action":"Acknowledge", "mappedActionV2": { "name":"inProgressIncident", "extraField":"" }, "integrationId":"2bdcf8c9-a423-4efd-957c-07ee7de236ea", "integrationName":"Dynatrace AppMon", "integrationType":"DynatraceAppMon", "sendViaOEC":true, "profileName":"", "incidentRule":"", "userName":"", "password":"", "url":"", "state":"InProgress", "alias":"b324f7e2-c747-47bb-83d5-17b6a8eafaf8" }

 

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

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