Integrate Opsgenie with Uptime.com
What does Opsgenie offer Uptime.com users?
Use Opsgenie’s Uptime.com Integration to forward Uptime.com alerts to Opsgenie. Opsgenie acts as a dispatcher for these alerts and 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.
Functionality of the Integration
When an alert is created in Uptime.com, an alert is created in Opsgenie automatically through the integration.
When the alert is cleared on Uptime.com, the related alert is closed in Opsgenie.
Add Uptime.com Integration to Opsgenie
If you're using Opsgenie's Free or Essentials plan or if you’re using Opsgenie with Jira Service Management's Standard plan, you can add this integration from your team dashboard only. The Integrations page under Settings is not available in your plan.
Go to Teams and select your team.
Select Integrations on the left navigation and then select Add integration.
Adding the integration from your team dashboard will make your team the owner of the integration. This means Opsgenie will assign the alerts received through this integration to your team only. Follow the rest of the steps in this section to set up the integration.
Go to Settings > Integrations. Search for Uptime.com and select Add.
Specify who is notified of Uptime.com alerts using the Responders field. Auto-complete suggestions are provided as you type.
Copy the API Key.
Select Save Integration.
Configuration in Uptime.com
In Uptime.com, select Alerting from the panel on the left.
2. Select Push Notifications and select New Profile.
3. Select Opsgenie.
4. Paste the API Key copied previously into the "API Key" field and click Save.
5. Select Contacts, choose the settings icon right next to the desired contact to send the notifications to and click Edit.
6. Add the created profile to the Push Notifications section and click Save.
Sample Webhook Message from Opsgenie Uptime.com
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"data": {
"account": {
"id": 26465,
"name": "Test"
},
"service": {
"msp_script": "",
"msp_dns_server": "",
"msp_password": "",
"monitoring_service_type": "HTTP",
"msp_url_path": "/404",
"id": 119395,
"display_name": "Testing low",
"msp_headers": "",
"msp_address": "https://www.fool.com/404",
"msp_threshold": null,
"msp_url_scheme": "https",
"msp_port": null,
"msp_expect_string": "",
"msp_notes": "",
"monitoring_service_type_display": "HTTP(S)",
"msp_send_string": "",
"msp_encryption": "",
"device_id": 85474,
"is_paused": false,
"msp_dns_record_type": "",
"msp_username": "",
"name": "Testing low",
"msp_sensitivity": 2,
"msp_interval": 1
},
"SITE_URL": "https://uptime.com",
"integration": {
"is_enabled": true,
"module_verbose_name": "Custom Postback URL (Webhook)",
"name": "opsgenie test",
"use_legacy_payload": false,
"id": 172,
"module": "webhook",
"postback_url": "http://api.opsgenie.com/v1/json/uptime"
},
"locations": [
"US-East",
"US-West"
],
"device": {
"is_paused": false,
"address": "www.fool.com",
"display_name": "www.fool.com",
"id": 85474,
"name": ""
},
"global_alert_state": {
"ignored": false,
"state_has_changed": true,
"created_at": "2017-04-08T22:07:34.334Z",
"state_is_up": false,
"num_locations_down": 2,
"id": 19972168
},
"date": "2017-04-08T22:07:34.334Z",
"alert": {
"created_at": "2017-04-08T22:07:34.334Z",
"state": "WARNING",
"short_output": "HTTP WARNING: HTTP/1.1 404 Not Found - 2759 bytes in 0.046 second response time",
"is_up": false,
"output": "HTTP WARNING: HTTP/1.1 404 Not Found - 2759 bytes in 0.046 second response time\n\ntime=0.045705s;;;0.000000 size=2759B;;;0",
"id": 19883486
}
},
"event": "alert_raised"
}
Was this helpful?