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

Opsgenie を Circonus と統合する

Circonus ロゴ

Opsgenie が Circonus ユーザーに提供するもの

モバイルでも常に状況を把握する

Use Opsgenie to receive notifications for critical alerts via SMS, phone calls, and iPhone & Android push notifications, and to respond to the alerts directly from mobile devices using Opsgenie apps.

統合されたアラートと通知の管理

Circonus users leverage Opsgenie to aggregate and manage alerts not only from Circonus but also from other sources. Opsgenie enables users to maintain their own notifications information and preferences, eliminates the burden of keeping this information current and accurate in multiple disparate tools.

アラート ライフサイクル管理

Opsgenie のインテグレーションにより、Circonus ユーザーに完全なアラート ライフサイクル管理機能が提供されます。Opsgenie を使用して、Circonus によって検出された重大な問題の通知を受信するだけでなく、アラートを受信する時間や場所を問わず、迅速にアラートを確認したり、アラートの所有権を取得または割り当てたり、アラートにコメントしたりできます。Opsgenie では、すべてのアラートのアクティビティをシームレスに把握できます。アクティビティには、アラートが作成された日時、受信者が通知を受けた日時や方法、受信者にアラートが表示されて確認した日時、アクションを実行したユーザーなどがあります。Opsgenie では、ホスト/サービスが復帰したときに自動的にアラートをクローズすることもできます。

権限を与えるアラート

A short text message (SMS) is typically used to notify users often fails to convey sufficient information to enable the recipients to assess the problem and determine the right course of action. Opsgenie alerts are not limited to couple hundred characters of text, and include many fields, tags, and capability for attached files. Recipients not only see the alert message, but all the supporting information, to figure out what to do next. Attach any information that is relevant to the alert and make it available to the recipients either via the API or the web UI.

統合の機能性

  • Circonus がアラートをトリガーすると、インテグレーションによって Opsgenie でアラートが自動的に作成されます。

  • アラート条件が有効でなくなった場合、CirconusOpsgenie に別の HTTP POST リクエストを行い、OpsGenie は自動的にアラートをクローズします。

  • Opsgenie によってアラートが承認 / 承認解除された場合、アラートは Circonus でも自動的に承認 / 承認解除されます (オプション)。

Opsgenie に Circonus インテグレーションを追加する

基本的な構成

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

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

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

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

OpsgenieCirconus 統合は、適切な既定値を提供します。基本的な構成設定には、統合が機能するために必要な最小限の構成情報が含まれています。

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

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

  3. Opsgenie エンドポイントと API キーを含む統合 URL をコピーします。

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

詳細設定

OpsgenieCirconus 統合は、可能な限り簡単に統合するために、適切な設定の既定値を使用します。ただし、統合をカスタマイズできます。詳細設定では次のことができます。

  • 異なるアラートについて異なるユーザーに通知するために、異なるルールを定義する

  • Circonus の Webhook ペイロードを使用したアラートのコンテンツの変更

Circonus アラート Webhook ペイロードからの以下の変数は、フィルターを定義してアラート フィールドの値を設定する際に利用できます。

  • アラート タイプ

  • accountname

  • 重大度

  • 評価基準名

  • 名前の確認

  • ホスト

  • エージェント

  • アラートの値

  • アラート時間

  • 値をクリア

  • 時間をクリア

  • アラート URL

  • メトリックのメモ

Circonus Webhook ペイロードの変数を使用して、フィルターで複数のルールを作成します。各ルールについて、アラートフィールドは異なる値を持つことができるため、通知対象者は異なります。

Opsgenie 経由で Circonus にあるアラートを承認/承認解除する

OpsgenieCirconus 統合は、発信アクションも提供します。選択した場合、OpsgenieCirconus でアラートを承認/承認解除できます。

  1. [Circonus にアラートアクションを送信] をクリックします。使用可能なアクションが表示されます。次に、Circonus に返送するアクションを選択します。

  2. [Save Integration (インテグレーションを保存)] をクリックします。

Circonus インテグレーションの保存

Circonus で webhook を設定する

  1. Circonus のロゴの横にある **メニューに移動します。

  2. [連絡先グループ] をクリックします。

Circonus 連絡先グループ

3. [新しい連絡先グループ + ] をクリックします。

4. 連絡先グループの名前を入力します。

5. [サードパーティを使用] ドロップダウンメニューから [Opsgenie] を選択します。

Circonus 新しい連絡先グループ

6. Opsgenie Circonus 設定ページで URL をコピーします。それを [Opsgenie API の URL] フィールドに貼り付けます。

7. Copy the URL in the Webhook URL field. Paste it to the Circonus Webhook URL field in Opsgenie Circonus configuration page.

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

Circonus アラートを保存

9. アラートをトリガーする新しいルール セットとそのグループに新しい Opsgenie 連絡先グループを追加します。

Circonus から Opsgenie に送信されるペイロードの例

JSON

{ "check_name": "54.214.23.46 http", "metric_link": null, "check_id": 81313, "alert_value": "212.0", "check_bundle_id": 60426, "alert_url": "https://circonus.com/account/opsgenie/fault-detection?alert_id=7438967", "host": "54.214.23.46", "metric_notes": "METRIC NOT", "alert_time": "Fri, 24 Jan 2014 18:17:37", "clear_time": "Fri, 24 Jan 2014 18:23:36", "metric_name": "duration", "clear_value": "220.0", "agent": "Ashburn, VA, US", "severity": "2", "alert_id": "7438967", "account_name": "opsgenie" }

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

JSON

{ "check_name": "54.214.23.46 http", "alert_value": "212.0", "alert_url": "https://circonus.com/account/opsgenie/fault-detection?alert_id=7438967", "host": "54.214.23.46", "metric_notes": "METRIC NOT", "alert_time": "Fri, 24 Jan 2014 18:17:37", "clear_time": "Fri, 24 Jan 2014 18:23:36", "metric_name": "duration", "clear_value": "220.0", "agent": "Ashburn, VA, US", "severity": "2", "alert_id": "7438967", "account_name": "opsgenie" }

Opsgenie から Circonus に送信されるペイロードの例

確認アクションのペイロードの例

JSON

{ "source":{ "name":"", "type":"web" }, "alert":{ "updatedAt":1420452224764002246, "tags": [ "tag1", "tag2" ], "message":"test alert", "username":"fili@ifountain.com", "alertId":"052652ac-5d1c-464a-812a-7dd18bbfba8c", "source":"fili@ifountain.com", "alias":"aliastest", "tinyId":"23", "createdAt":1420452191104, "userId":"daed1180-0ce8-438b-8f8e-57e1a5920a2d", "entity":"", "alert_id":64657364 }, "action":"Acknowledge", "integrationId":"37c8f316-17c6-49d7-899b-9c7e540c048d", "integrationName":"Integration1" }

承認解除アクションのペイロードの例

JSON

{ "source":{ "name":"", "type":"web" }, "alert":{ "updatedAt":1420452224764002246, "tags": [ "tag1", "tag2" ], "message":"test alert", "username":"fili@ifountain.com", "alertId":"052652ac-5d1c-464a-812a-7dd18bbfba8c", "source":"fili@ifountain.com", "alias":"aliastest", "tinyId":"23", "createdAt":1420452191104, "userId":"daed1180-0ce8-438b-8f8e-57e1a5920a2d", "entity":"", "alert_id":64657364 }, "action":"UnAcknowledge", "integrationId":"37c8f316-17c6-49d7-899b-9c7e540c048d", "integrationName":"Integration1" }

 

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

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