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

End of sales and support for Opsgenie

Atlassian will discontinue new sales of Opsgenie on June 4, 2025 and end support for Opsgenie on April 5, 2027. Read the full announcement and learn about next-generation incident response options via Jira Service Management and Compass.

Opsgenie を Consul と統合する

Consul ロゴ

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

OpsgenieConsul インテグレーションを使用して、詳細情報と共に Opsgenie API に Consul アラートを送信します。Opsgenie はこれらの Consul アラートのディスパッチャーとして機能して、オンコール スケジュールに基づいて通知する適切な担当者を決定します。メール、テキスト メッセージ (SMS)、電話、iPhone、Android のプッシュ通知によって通知し、アラートが確認されるかクローズされるまでアラートをエスカレートします。

統合の機能性

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

Opsgenie で Consul インテグレーションを追加する

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

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

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

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

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

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

  3. 統合 API キーをコピーして Consul 設定で使用します。

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

Consul サーバーでの設定

  1. Consul サーバーから下記の手順を適用します。

  2. Install Consul-Alerts as shown here

  3. Consul-Alerts が実行されたら、Opsgenie API キーを設定します (注: Consul エージェントの IP とポートは異なる場合があります)。

curl

curl -X PUT -d 'API_KEY' http://localhost:8500/v1/kv/consul-alerts/config/notifiers/opsgenie/api-key

4. (オプション) Opsgenie アラートの詳細に表示するエンティティ フィールドの値を設定します (デフォルトは「Cluster-Alert」)。

curl

curl -X PUT -d 'true' http://localhost:8500/v1/kv/consul-alerts/config/notifiers/opsgenie/enabled

5. Consul-Alerts で Opsgenie 通知を有効にします。

curl

curl -X PUT -d 'Consul' http://localhost:8500/v1/kv/consul-alerts/config/notifiers/opsgenie/cluster-name

6.Consul ヘルスチェックがクリティカルになると、Opsgenie アラートが自動的に作成されます。

Consul ヘルスチェック

7. Consul ヘルスチェックが再び通過すると、Opsgenie アラートは自動的にクローズされます。

Consul ヘルスチェック

すべて完了! OpsgenieConsul ヘルスチェックを管理し、Opsgenie のフル アラート機能を活用します。

API ベースのインテグレーションのため、動的フィールド (カスタム プライオリティ、ペイロード、URL、ヘッダー) は、このインテグレーションでは使用できません。

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

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