• 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

You can add this integration from your team dashboard

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 only add this integration from your team dashboard as the Integrations page under Settings is not available in your plan.

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.

To do that,

  1. Go to your team’s dashboard from Teams,

  2. Select Integrations, and select Add integration.

Follow the rest of the steps to complete the integration.

  1. Go to Settings > Integrations. Search for Uptime and select Add

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

  3. Copy the API Key.

  4. Select 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" }

Additional Help