• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Uptime

Uptime logo

What does Opsgenie offer Uptime users?

Use Opsgenie’s Uptime Integration to forward Uptime 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, an alert is created in Opsgenie automatically through the integration.

  • When the alert is cleared on Uptime, the related alert is closed in Opsgenie.

Add Uptime Integration to Opsgenie

  1. Go to Opsgenie Uptime Integration page.

Under the Free and Essentials plans, the tabs under the Team dashboard are limited to Main, Integrations, Members, and Activity Stream.

2. Specify who is notified of Uptime alerts using the Teams field. Auto-complete suggestions are provided as you type.

An alternative for Step 1) and Step 2) is to add the integration from the Team Dashboard of the team which will own the integration. To add an integration directly to a team, navigate to the Team Dashboard and open Integrations tab. Click Add Integration and select the integration that you would like to add.

3. Copy the API Key.

4. Click Save Integration.

Configuration in Uptime

  1. In Uptime, select Alerting from the panel on the left.

Uptime dashboard

2. Select Push Notifications and select New Profile.

Uptime push notification

3. Select Opsgenie.

4. Paste the API Key copied previously into the "API Key" field and click Save.

Uptime add push notification profile

5. Select Contacts, choose the settings icon right next to the desired contact to send the notifications to and click Edit.

Uptime contact

6. Add the created profile to the Push Notifications section and click Save.

Uptime edit contact

Sample Webhook Message from Opsgenie Uptime

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" }

Sample alert

Uptime sample alert
Last modified on Feb 12, 2021
Cached at 7:14 AM on Apr 12, 2021 |

Additional Help

Ask the Community