Uptime Integration

Uptime is an uptime and performance monitoring tool.

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. Please create an Opsgenie account if you haven't done so already.
  2. Go to Opsgenie Uptime Integration page.

🚧

For Free and Essentials plans, you can only add the integrations from the Team Dashboards, please use the alternative instructions given below to add this integration.

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

📘

An alternative for Step 2) and Step 3) 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.

  1. Copy the API Key.
  2. Click Save Integration.

Configuration in Uptime

  1. In Uptime, select Alerting from the panel on the left.
  1. Select Push Notifications and select New Profile.
  1. Select Opsgenie.
  2. Paste the API Key copied previously into the "API Key" field and click Save.
  1. Select Contacts, choose the settings icon right next to the desired contact to send the notifications to and click Edit.
  1. Add the created profile to the Push Notifications section and click Save.

Sample Webhook Message from Opsgenie Uptime

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


Did this page help you?