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

Opsgenie を BMC FootPrints v12 と統合する

統合の機能性

  • BMC FootPrints v12 でインシデントが作成されると、Opsgenie でアラートが作成されます。

  • BMC FootPrints v12 でインシデントが更新されると、Opsgenie のアラートにメモが追加されます。

  • BMC FootPrints v12 でインシデントが解決されると、Opsgenie でアラートがクローズされます。

  • BMC FootPrints v12 で問題が作成されると、Opsgenie でアラートが作成されます。

  • BMC FootPrints v12 で問題が更新されると、Opsgenie のアラートにメモが追加されます。

  • BMC FootPrints v12 で解決済みである、Opsgenie でアラートがクローズされます。

  • Opsgenie でアラートを作成すると、BMC FootPrints v12 にインシデントまたは問題が作成されます。

  • Opsgenie でアラートにメモを追加すると、BMC FootPrints v12 でインシデントまたは問題が更新されます。

  • Opsgenie でアラートの優先順位が変更されると、インシデントまたは問題の優先順位が BMC FootPrints v12 で更新されます。

  • Opsgenie でアラートをクローズすると、BMC FootPrints v12 でインシデントまたは問題が解決されます。

Opsgenie に BMC FootPrints v12 インテグレーションを追加する

この統合は、Opsgenie の Standard プランと Enterprise プラン、および Jira Service Management の Premium プランと Enterprise プランでのみ利用できます。

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

  1. Go to Settings > Integrations. Search for BMC FootPrints and select Add.

  2. Specify who should be notified for BMC FootPrints v12 alerts using the Responders field. Auto-complete suggestions will be provided as you type.

  3. [コピー] ボタンをクリックするか選択して API キーをコピーします。

  4. [統合を保存] を選択します。

BMC FootPrints v12 での設定

  • In BMC FootPrints v12, go to Administration tab.

BMC FootPrints v12 管理
  • [ワークスペース] でサービス デスク ワークスペースを選択します。

BMC FootPrints v12 ワークスペース
  • インシデント レコード定義と問題レコード定義のいずれかまたは両方について、以下のプロセスを繰り返します。

    • レコード定義をダブルクリックすると、その詳細が表示されます。

    • 左メニューの [フィールド] を選択します。

    • [追加] ボタンをクリックして新しいフィールドを追加し、[フィールドの追加] を選択します。

    • フィールドに「Opsgenie Alert Alias」という名前を付けます。 Opsgenie はこの名前を使用して API からフィールドにアクセスするため、この名前は完全に同じである必要があります。

    • [フィールド タイプ] として [簡易テキスト] を選択します。

    • [権限] として [非表示] を選択します。

    • [保存] ボタンをクリックして、フィールドを保存します。

BMC FootPrints v12 ワークスペース
BMC FootPrints v12 アラート エイリアス
  • もう一度レコード定義に戻り、今度は左側のメニューから [ビジネス ルール] を選択します。

    • [新規ビジネス ルール ] ボタンをクリックし、[ルールの保存後] を選択します。

BMC FootPrints v12 ビジネス ルール
  • [Business ルール名] フィールドに「Send to Opsgenie (Opsgenie に送信する)」と入力します。

    • [ビジネス ルール・スケジュール] フィールドで [いつでも実行] を選択します。

    • [新しいトリガーを追加] ボタンをクリックして、新しいトリガーを追加します。

    • トリガーに対して [保存後] を選択し、[作成時設定] および [ユーザーによる更新時設定] チェックボックスをオンにします。

    • [作成] ボタンをクリックして、トリガーを作成します。

    • [新しいアクションを追加] ボタンをクリックし、新しいアクションを追加します。

    • アクションの [外部アクションの実行] を選択します。

      • Linux ディストリビューションを使用している場合:

        • For Incident record definition, paste /usr/bin/bmcFootPrints2opsgenie -incidentNumber [incident_number]

        • For Problem record definition, paste /usr/bin/bmcFootPrints2opsgenie -problemNumber [problem_number]

      • Windows をお使いの場合:

        • For Incident record definition, paste C:\opsgenie-integration\bmcFootPrintsV12\bmcFootPrints2opsgenie.exe -incidentNumber [incident_number]

        • For Problem record definition, paste C:\opsgenie-integration\bmcFootPrintsV12\bmcFootPrints2opsgenie.exe -problemNumber [problem_number]

    • [作成] ボタンをクリックして、アクションを作成します。

    • 左上の [保存] ボタンをクリックして、ビジネス ルールを保存します。

BMC FootPrints v12 ワークスペース
  • サービス デスク ワークスペースに戻り、[保存して公開] ボタンをクリックします。

BMC FootPrints v12 ワークスペース

OEC を介した統合

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

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

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

To download the latest version of BMC FootPrints v12 package, please use readme file of oec-scripts repository.

OEC パッケージをインストールする

  • OEC パッケージを含む opsgenie integration の zip ファイルをディレクトリ内に解凍します (C:\opsgenie は優先パスです)。便宜上、このパスを %OEC_HOME% と呼びます。解凍場所の値で OEC_HOME というシステム環境変数を作成できます。これを行うには、昇格した Powershell セッションを開き、[Environment]::SetEnvironmentVariable("OEC_HOME", "Path you extracted OEC package", 'Machine') というコマンドを入力します。

この機能を使用するには、Opsgenie BMC FootPrints v12 インテグレーション設定ページで、[Opsgenie アラートの BMCFootPrints インシデント / 問題を作成する] チェックボックスが有効である必要があります。

OEC 用の BMC FootPrints v12 インテグレーションの設定

  • In order to use OEC utility for your BMC FootPrints v12 integration, enable Send Via OEC in your integration settings.

  • BMC FootPrints v12 に関するその他の設定は、インテグレーション設定ページまたは OEC 設定ファイルを使用して実行できます。インテグレーション ページの設定は、設定ファイルより優先されます。

BMC FootPrints v12 OEC インテグレーション

OEC 設定

To be able to execute actions in BMC FootPrints v12, OEC gets the configuration parameters from the configuration file located at path %OEC_HOME%\conf\config.json.

設定パラメーター

  • apiKey — 上記で作成した BMC FootPrints v12 インテグレーションから API キーをコピーします。

  • urlBMC FootPrints v12 インスタンスの URL。

  • username — 認証用の BMC FootPrints v12 ユーザーのユーザー名。

  • password — 認証用の BMC FootPrints v12 ユーザーのパスワード。

  • workspaceNameBMC FootPrints v12 でのサービス デスク ワークプレイスの名前。(例: Service Desk 1)

The package that you downloaded also includes OEC executable which is located at path %OEC_HOME%\oecService64.exe and the script that is needed to be run by OEC which is located at path %OEC_HOME%\scripts\actionExecutor.py . 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.

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

JSON

{ "type": "bmcFootPrintsV12", "alertId": "ccec1231-9cbf-468c-a6ce-c52a18712404", "customerId": "c32f2305-f7ad-4fed-8d85-2f3cae411983", "action": "Create", "mappedActionV2": { "name": "createIncident", "extraField": "" }, "integrationId": "5769475e-ddc6-4978-812e-50ed2aab9a5b", "integrationName": "BMCFootPrints v12", "integrationType": "BMCFootPrintsV12", "sendViaOEC": true, "url": "", "username": "", "password": "", "workspaceName": "", "shortDescription": "Test message.", "priority": "P3", "description": "[Opsgenie] Test description." }

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

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