ユーザーとして Opsgenie の利用を開始する
プロフィールの設定、Opsgenie からの通知の取得、オンコール スケジュールの表示に関するすべての方法を説明します。
Opsgenie の Pingdom 統合により、Pingdom ユーザーはエスカレーション、オンコール スケジュール管理、優れたアラート通知制御などの Opsgenie の高機能アラートと通知の管理機能を活用できます。
Pingdom でアラートが作成されると、統合によって Opsgenie でもアラートが自動で作成されます。
アラートが Pingdom でクローズされると、関連するアラートが Opsgenie でもクローズされます。
この統合はチーム ダッシュボードから追加可能
Opsgenie の Free または Essentials の各プランを使用している、または Jira Service Management の Standard プランで Opsgenie を使用している場合、このプランでは [設定] の [統合] ページが利用できないため、この統合はチーム ダッシュボードからのみ追加できます。
統合をチーム ダッシュボードから追加すると、そのチーム統合の所有者になります。Opsgenie では、この統合を通じて受信したアラートはそのチームのみに割り当てられます。
そのためには、次の手順に従います。
Teams からチーム ダッシュボードに移動します。
[統合] > [統合を追加] の順に選択します。
残りの手順に従って統合を完了します。
[設定] > [統合] の順に移動します。Pingdom を検索して [追加] を選択します。
[応答者] フィールドによって Pingdom アラートの通知先を指定します。入力し始めると、オートコンプリートの候補が表示されます。
Webhook の URL をコピーします。
[Save Integration (統合の保存)] を選択します。
Pingdom ダッシュボードに移動します。
[Integrations (統合)] > [Integrations (統合)] > [Add integrations (統合の追加)] をクリックします。
3. 統合 "タイプ" として Webhook を選択します。
4. [Webhook 名] フィールドに有効な名前を入力します。
5. Webhook URL を [Webhook URL] フィールドに貼り付けます。
6. "アクティブ" フィールドが選択されていることを確認します。
7. [Save Integration (統合を保存)] をクリックします。
8. Opsgenie Webhook インテグレーションは、"アップタイム" と "トランザクション" チェックに使用する準備が整っています。
9. 設定の [確認] で Opsgenie Webhook の統合が有効になっていることを確認します。
HTTP チェック [投稿]:
JSON
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
32
33
34
{
"check_id": 12345,
"check_name": "Name of HTTP check",
"check_type": "HTTP",
"check_params": {
"basic_auth": false,
"encryption": true,
"full_url": "https://www.example.com/path",
"header": "User-Agent:Pingdom.com_bot",
"hostname": "www.example.com",
"ipv6": false,
"port": 443,
"url": "/path"
},
"tags": [
"example_tag"
],
"previous_state": "UP",
"current_state": "DOWN",
"state_changed_timestamp": 1451610061,
"state_changed_utc_time": "2016-01-01T01:01:01",
"long_description": "Long error message",
"description": "Short error message",
"first_probe": {
"ip": "123.4.5.6",
"ipv6": "2001:4800:1020:209::5",
"location": "Stockholm, Sweden"
},
"second_probe": {
"ip": "123.4.5.6",
"ipv6": "2001:4800:1020:209::5",
"location": "Austin, US"
}
}
PING チェック [投稿]:
JSON
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
{
"check_id": 12345,
"check_name": "Name of Ping check",
"check_type": "PING",
"check_params": {
"hostname": "www.example.com",
"basic_auth": false,
"ipv6": false
},
"tags": [
"example_tag"
],
"previous_state": "UP",
"current_state": "DOWN",
"state_changed_timestamp": 1451610061,
"state_changed_utc_time": "2016-01-01T01:01:01",
"long_description": "Long error message",
"description": "Short error message",
"first_probe": {
"ip": "123.4.5.6",
"ipv6": "2001:4800:1020:209::5",
"location": "Stockholm, Sweden"
},
"second_probe": {
"ip": "123.4.5.6",
"ipv6": "2001:4800:1020:209::5",
"location": "Austin, US"
}
}
IMAP チェック [投稿]:
JSON
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
{
"check_id": 12345,
"check_name": "Name of IMAP check",
"check_type": "IMAP",
"check_params": {
"hostname": "www.example.com",
"basic_auth": false,
"encryption": false,
"ipv6": false,
"port": 143
},
"tags": [
"example_tag"
],
"previous_state": "UP",
"current_state": "DOWN",
"state_changed_timestamp": 1451610061,
"state_changed_utc_time": "2016-01-01T01:01:01",
"long_description": "Long error message",
"description": "Short error message",
"first_probe": {
"ip": "123.4.5.6",
"ipv6": "2001:4800:1020:209::5",
"location": "Stockholm, Sweden"
},
"second_probe": {
"ip": "123.4.5.6",
"ipv6": "2001:4800:1020:209::5",
"location": "Austin, US"
}
}
トランザクション チェック [投稿]:
JSON
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
{
"check_id": 12345,
"check_name": "Name of transaction check",
"check_type": "TRANSACTION",
"check_params": {
"encryption": true,
"port": 443,
"url": "https://www.example.com/"
},
"tags": [
"example_tag"
],
"previous_state": "FAILING",
"current_state": "SUCCESS",
"state_changed_timestamp": 1451610061,
"state_changed_utc_time": "2016-01-01T01:01:01",
"description": "Error message",
"first_probe": {
"ip": "123.4.5.6",
"ipv6": "2001:4800:1020:209::5",
"location": "Stockholm, Sweden"
},
"second_probe": {
"ip": "123.4.5.6",
"ipv6": "2001:4800:1020:209::5",
"location": "Austin, US"
}
}
この内容はお役に立ちましたか?