UptimeRobot webhooks: downtime and expiring certificates as signals

Send UptimeRobot's down, up and SSL expiry alerts to Pulso with a JSON body you define, and turn them into signals with an owner and a playbook.

UptimeRobot checks your sites and APIs; Pulso decides what happens next. With a webhook integration, each down, up or expiry alert becomes an event in a Pulso webhook source, and its monitors open signals with the steps to follow.

Connect UptimeRobot#

Webhook integrations are on UptimeRobot’s Team and Scale plans. Add UptimeRobot to Pulso to create a webhook source called UptimeRobot; it shows these steps with the source’s URL and secret, then creates the monitors below that you pick, with their playbooks and a report. To start from scratch instead, create a webhook data source called UptimeRobot.

  1. In UptimeRobot, go to Integrations, click Add Integration and select Webhook.
  2. Paste the source’s Endpoint URL, https://hooks.pulso.run/webhooks/<id>/<token>, as the Webhook URL.
  3. Under Custom headers, add Authorization with Bearer <secret> as its value. The secret is the source’s Signing secret, under Signatures with the Bearer token scheme: Add to Pulso makes one up and refuses deliveries without it; from scratch, set a long random one there.
  4. Under the default variables, don’t send them as a query string: Pulso reads only the body.
  5. In POST value, paste the body below and turn on Send as JSON (application/json).
  6. Under Events to notify about, pick Down events, Up events and SSL & Domain expiry, and save.
  7. Connect the integration to the monitors that should report to Pulso.

UptimeRobot’s API v3 creates the same integration with POST https://api.uptimerobot.com/v3/integrations, "type": "Webhook", the Pulso URL as urlToNotify, "sendAsJSON": true and the body as postValue, and the header in customHeaders.

The body to send#

UptimeRobot fills in variables wrapped in asterisks. This body gives each one a column of its own:

{
  "monitor_id": "*monitorID*",
  "monitor": "*monitorFriendlyName*",
  "url": "*monitorURL*",
  "monitor_type": "*monitorType*",
  "alert_type": "*alertType*",
  "status": "*alertTypeFriendlyName*",
  "details": "*alertDetails*",
  "duration_seconds": "*alertDuration*",
  "alerted_at": "*alertDateTime*",
  "incident_started_at": "*incidentStartTime*",
  "incident_ended_at": "*incidentEndTime*",
  "http_status_code": "*httpStatusCode*",
  "regions": "*monitoringRegions*",
  "tags": "*monitorTags*",
  "group": "*monitorGroup*",
  "ssl_expires_on": "*sslExpiryDate*",
  "ssl_days_left": "*sslExpiryDaysLeft*",
  "domain_expires_on": "*domainExpireDate*",
  "dashboard_url": "*dashboardUrl*",
  "custom_fields": *customFields*
}

The columns are the keys above: monitor_id, monitor, alert_type, status and so on. alert_type is 1 for down, 2 for up and 3 for an SSL or domain expiry. duration_seconds and incident_ended_at only have a value on up events, the SSL and domain dates only on expiry alerts. custom_fields goes without quotes, as UptimeRobot asks; if it arrives as an object, its keys become columns like custom_fields.team.

Number filters read quoted numbers, so duration_seconds greater than 900 works.

Monitors to build#

A site we sell on is down#

Long outages to review#

Certificates about to expire#

UptimeRobot only sends when a monitor changes state, so a heartbeat monitor in Pulso can’t tell a quiet day from a missing alert.

Limits#

Source: UptimeRobot’s Webhook integration article.


Add UptimeRobot to Pulso: a webhook source, 3 monitors with their playbooks and a report, then these steps with the source's URL.

Add to Pulso

See the monitors, their playbooks and the report