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

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 を Mattermost と統合する

Mattermost のロゴ

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

OpsgenieMattermost との双方向の統合を持っています。設定が強力で簡単です。Opsgenie の堅牢なアラートの通知は、Mattermost チャンネルに直接配信されます。また、ユーザーは、/genie ack 12 のようなコマンドを入力するのと同じくらい簡単に、チャンネルからこれらのアラートの承認、クローズ、または割り当てを行うことができます。

OpsgenieMattermost 統合を追加し、Mattermost の使いやすいチーム コラボレーション プラットフォームと Opsgenie の豊富なアラート通知システムとオンコール ローテーションが数秒で統合されます。チャットに /genie コマンドを入力するだけで、アラートに対してアクションを実行できます。

Mattermost チャンネルに簡単なコマンドを入力して Opsgenie でより多くのことを達成します。/genie コマンドを使用して Opsgenie 通知のミュート、アラートの詳細の取得、オンコール スケジュールの表示などを行います。

[ユーザーの一致が必要] オプションは、Mattermost アカウントと Opsgenie アカウントの一致を強制するために使用されます。チャット ユーザー マッピング セクションでは、この課題に対処しています。

Mattermost 統合の設定

  1. In Mattermost, enable incoming webhooks and slash commands from Main Menu > System Console > Integrations > Custom Integrations.

  2. To create Mattermost Incoming Webhook, go to Main Menu > Integrations > Incoming Webhooks and click Add Incoming Webhook.

  3. 「表示名」フィールドと「説明」フィールドに入力し、Webhook ペイロードを受信するチャンネルまたはプライベート グループを選択し、次に [保存] をクリックして Webhook を作成します。

Mattermost Webhook

4. 着信 Webhook を追加した後、ページが表示されます。そのページに与えられた URL をコピーします。

Mattermost Webhook

5. Opsgenie アカウントに移動します。

6. [設定] > [統合] の順に移動して、Mattermost を検索して [追加] を選択します。 

7. Mattermost からコピーした URL を「Mattermost URL」フィールドに貼り付けます。

8. Mattermost にスラッシュ コマンドを追加するときに、リクエストURL をコピーして使用できるようにします。

9. [統合を保存] をクリックします。

Mattermost 統合

10. Go to Mattermost and from Main Menu > Integrations > Slash Commands, then select Add Slash Command.

11. 「コマンド トリガー ワード」フィールドに genie を入力します。

12. Opsgenie からコピーした URL を [リクエスト URL] フィールドに貼り付けます。

Mattermost スラッシュ コマンド

13. [アップデート] をクリックします。

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

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

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

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

チャット ユーザー マッピング

  1. "Require Matching a User" is used to force matching Mattermost accounts with Opsgenie accounts.

  2. /genie 接続コマンドを使用して、Mattermost アカウントを Opsgenie アカウントに関連付けます。

  3. 詳細については「チャット ユーザー マッピング」をご参照ください。

  4. チャット ユーザー マッピング フロー:

  • まず、 /genie connect コマンドを書きます。opsgenie " " で認証リンクをクリックします。

Mattermost 接続コマンド
  • In the opened tab, the link directs to the Opsgenie login page. Login and click Approve.

Mattermost 承認アカウント
  • これで Opsgenie アカウントは Mattermost のチームに接続されています。

Mattermost アカウント接続

/genie コマンドの使用

アラートの tinyId を含むコマンドを Mattermost ルームに入力することで、Opsgenie アラートに対するアクションを簡単に実行できます。複数のアラートに対して 1 つのコマンドを実行できることにご注意ください。

アラート コマンドを使用して、OpsgenieMattermost チャンネルから直接アラートを作成します。

アラートを承認する:

/genie ack [tinyID tinyID2..]

 

例:

/genie ack 1


/genie ack 1 2 3

 

アラートをクローズする:

/genie close [tinyID tinyID2..]

 

例:

/genie close 1


/genie close 1 2 3

 

アラートにメモを追加する:

/genie note [note] to [tinyID tinyID2..]

 

例:

/genie note this is note to 1


/genie note this is note to 1 2 3

 

アラートにタグを追加する:

/genie addtag [tag1,tag2,..] to [tinyID tinyID2..]

 

例:

/genie addtag high priority,important to 1


genie addtag high priority,important to 1 2 3

 

すべてのオープン アラートを承認する:

/genie ackall

 

すべてのオープン アラートをクローズする:

/genie closeall

 

アラートを割り当てる:

/genie assign [tinyID tinyID2..] to [user]

 

例:

/genie assign 1 to john.smith@acme.com


/genie assign 1 2 3 to john.smith@acme.com

 

アラートの所有権を取得する:

/genie own [tinyID tinyID2..]

 

例:

/genie own 1


/genie own 1 2 3

 

アラートの優先度を更新する:

/genie update priority to [P1, P2, P3, P4 or P5] for [tinyID]

 

例:

/genie update priority to P2 for 1341

 

アクションを実行する:

/genie exec [action] on [tinyID tinyID2..]

 

例:

/genie exec customAction on 1


/genie exec customAction on 1 2 3

 

アラートを作成する:

/genie alert [alert message] for [team1,team2,user1..]

 

例:

/genie alert this is alert message for john.smith@acme.com


/genie alert this is alert message for myTeam
/genie alert this is alert message for myTeam,john.smith@acme.com

 

アラートの取得する:

/genie get [tinyID]

 

例:

/genie get 1

 

アラートのリスト:
すべてのオープン アラートをリストします。

/genie list

 

指定されたチームの開いているすべてのアラートをリストします。

/genie list alerts of team1

 

統合をリストにする:

/genie list integrations

 

ポリシーをリストする:

/genie list policies

 

チームをリストする:

/genie list teams


/genie list teams contains [search query]
/genie list teams starts with [search query]

 

統合 / ポリシーを有効化する:

/genie enable [name]

 

例:

/genie enable policy

 

統合 / ポリシーを無効にする:

/genie disable [name]

 

例:

/genie disable policy

 

オンコールを取る:
チームまたはスケジュールに対して、指定された時間だけオンコールを実行します。既定の総時間は 1 時間です。スケジュール/チームが指定されていない場合、ユーザーは自分のチームのスケジュール、または参加している単一のスケジュールに対してオンコールを実行します。

/genie oncall [me/user] [h/m/d] for [team/schedule/all]

 

使用例は次のとおりです。

/genie oncall me 2h for weekend_schedule


/genie oncall john.smith@acme.com 1d for ops_team
/genie oncall me 2h for all
/genie oncall me 45m
/genie oncall me

 

オンコールの相手:
すべてのスケジュールからオンコール ユーザー情報を取得します。

/genie whoisoncall

 

ミュート:
ユーザーの通知をミュートします。指定しない場合は 5 分間ミュートします。

/genie mute [me/username] [minutes(optional)]

 

例:

/genie mute john.smith@acme.com


/genie mute john.smith@acme.com 15

 

ミュート解除:
ミュート設定をクリアします。

/genie unmute [me/username]

 

例:

/genie unmute john.smith@acme.com

 

接続:
Opsgenie アカウントをチャット アカウントに接続します。接続が存在する場合は、現在接続されている Opsgenie ユーザーと切断オプションが表示されます。

詳細については、「チャット ユーザー マッピング」のドキュメント ページをご参照ください。

 

/genie connect

 

ヘルプ:

/genie help

 

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

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