ユーザーとして Opsgenie の利用を開始する
プロフィールの設定、Opsgenie からの通知の取得、オンコール スケジュールの表示に関するすべての方法を説明します。
Use the Status.io integration to forward Status.io alerts to Opsgenie and Opsgenie alerts to Status.io. Opsgenie determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, and iPhone & Android push notifications, and escalates alerts until the alert is acknowledged or closed.
Status.io でインシデントが作成されると、インテグレーションによって Opsgenie でアラートが自動的に作成されます。
When an incident is resolved in Status.io, the alert will automatically be closed in Opsgenie through the integration.
Opsgenie でアラートが作成されると、統合によって Status.io でアラートが自動で作成されます。
When an incident is closed in Opsgenie, the incident will be resolved in Status.io through integration.
Status.io is a bidirectional integration. Setting it up involves the following steps:
Add a Status.io integration in Opsgenie
Map alert actions
Configure the integration in Status.io
Opsgenie の Free プランまたは Essentials プランを使用している、または Jira Service Management の Standard プランで Opsgenie を使用している場合は、チーム ダッシュボードからのみこの統合を追加できます。このプランでは、[設定] の [統合] ページが利用できません。
[チーム] に移動して自分のチームを選択します。
左側のナビゲーションで [統合] を選択し、[統合を追加] を選択します。
統合をチーム ダッシュボードから追加すると、そのチーム統合の所有者になります。Opsgenie では、この統合を通じて受信したアラートはそのチームのみに割り当てられます。このセクションの残りの手順に従って、統合を設定してください。
To add a Status.io integration in Opsgenie:
Go to Settings > Integrations.
Select Add integration.
Run a search and select “Status.io”.
次の画面で、統合の名前を入力します。
オプション: 特定のチームが統合からのアラートを受信するようにする場合は、[Assignee team (担当者チーム)] のチームを選択します。
[続行] を選択します。
この時点で、統合が保存されます。
Paste the Status.io Status Page ID into Status Page Id.
Paste the Status.io API ID into Status.io API Id.
Paste the Status.io API Key into Status.io API Key.
Find the Status Page ID, API ID, and API Key information under API tab on the left menu by navigating there and selecting "Display API Credentials" in Status.io.
Select which actions to perform on the Status.io side via the "Alert Action" option.
[作成]、[クローズ]、または両方のアクションを選択します。
アラート フィルターを選択して、Status.io に転送するアラートを指定します。
Expand the Steps to configure the integration section and copy the Webhook URL.
You will use this URL while configuring the integration in Status.io later.
To create/resolve incidents in Status.io when an alert is created/closed in Opsgenie, select the Send Alerts To Status.io option.
[統合をオンにする] を選択します。
統合のために作成したルールは、統合をオンにした場合にのみ機能します。
Status.io で、まだ有効になっていない場合は、Webhook 通知を有効にします。
Open the "Notifications" tab on the left menu, navigate to the Webhook section, and select ON/OFF.
On the Status page, select SUBSCRIBE.
Open the "Webhook" tab from the menu at the top.
Paste the URL you copied while adding the integration in Opsgenie into the first field.
Enter an email address in the second field.
Select Subscribe.
このステップはオプションです。
アラートに追加のプロパティを設定して、インシデントの影響を受けるコンテナーとコンポーネントを Status.io に通知します。これらの追加プロパティは、アラートの [Extra Properties (追加プロパティ)] フィールドに追加されます。[Containers (コンテナー)] と [Components (コンポーネント)] が追加のプロパティとして設定されている場合、Status.io 側では、これらのコンテナーおよびコンポーネントに対してのみインシデントが作成されます。コンテナーもコンポーネントも選択されていない場合、インシデントはすべてのコンテナーとコンポーネントに対して作成されます。
Here is a list of the extra properties that can be set to change the information that is sent to Status.io:
Containers (containers that are affected by the incident)
Components (components that are affected by the incident)
Current Status (current status of the incident)
Current State (current state of the incident)
Enter the "Containers" and "Components" properties as IDs. To find the Ids of these containers and components, complete the following steps:
In Status.io, select Infrastructure from the left menu.
Select the Modify button "(>)" of the first item in the Components list.
Select the API tab under the Automatic Status Updates section.
そのタブで、コンポーネントの ID と、そのコンポーネントを含むコンテナーの ID を確認します。
[Components (コンポーネント)] リストの使用する各コンポーネントについて、上記の手順を繰り返します。
[Current Status (現在のステータス)] と [Current State (現在の状態)] の追加プロパティを設定して、インシデントのステータスと状態を設定します。[Current Status (現在のステータス)] と [Current State (現在の状態)] の追加のプロパティが設定されていない場合、インシデントは [Current Status (現在のステータス)] と [Current State (現在の状態)] の既定値 (100) で作成されます。[Current Status (現在のステータス)] と [Current State (現在の状態)] の追加プロパティをステータス コードとして入力します。
Incident Status Codes
100 - 運用可能
300 - パフォーマンスの低下
400 - 部分的なサービスの中断
500 - サービスの中断
600 - セキュリティイベント
Incident State Codes
100 - 調査中
200 - 識別済み
300 - 監視
(in JSON format)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"id": "57ca879d96a04686040000cc",
"datetime": "2016-09-03T08:19:41.459Z",
"current_status": "Degraded Performance",
"current_state": "Investigating",
"previous_status": "Security Issue",
"previous_state": "Monitoring",
"components": [
{
"name": "WebSite2",
"_id": "57ca82dca530225c6d000085"
},
{
"name": "Website",
"_id": "57c987f72d8d333607002c3d"
}
],
"containers":[
{
"name": "Container1",
"_id": "57ca82d0db69d71f40000083"
},
{
"name": "Primary Data Center",
"_id": "57c987f72d8d333607002c3c"
}
],
"details": "Details",
"status_page_url": " https://opsgenie.status.io",
"incident_url": "https://opsgenie.status.io/pages/incident/57c987f72d8d333607002c2d/57ca879d96a04686040000cc"
}
この内容はお役に立ちましたか?