Sensu

Receive Sensu monitoring event notifications via webhook handler.

InboundMonitoring & Observability
Start Free Trial

Quick Setup

Copy Webhook URL

Go to your Alert24 dashboard and copy the webhook URL for Sensu.

Configure Sensu

Add the webhook URL in your Sensu settings.

Auto-Detected

Alert24 auto-detects Sensu payloads and maps them to incidents.

Step-by-Step Setup Instructions

Sensu Webhook Handler Setup

1.Create a handler configuration in Sensu:
type: Handler
api_version: core/v2
metadata:
  name: alert24
spec:
  type: pipe
  command: >
    curl -X POST <WEBHOOK_URL>
    -H "Content-Type: application/json"
    -d @-
2.Assign the handler to your check definitions
3.Events will be forwarded automatically on state changes

Example Webhook Payload

This is a sample payload that Sensu sends to Alert24 when an alert fires.

{
  "entity": {
    "metadata": {
      "name": "web-prod-01",
      "namespace": "default"
    },
    "system": {
      "hostname": "web-prod-01",
      "os": "linux"
    }
  },
  "check": {
    "metadata": {
      "name": "check-cpu"
    },
    "status": 2,
    "output": "CPU usage CRITICAL - 98.5% |cpu_usage=98.5%;80;95",
    "issued": 1705312200,
    "interval": 60
  },
  "timestamp": 1705312200
}

How Alert24 Maps Sensu Data

Status Field

check.status

Message Field

check.output

Auto-Create Incidents

Yes

Auto-Resolve Incidents

Yes

Status Mapping

Alert24 StatusSensu Values
operational
0
degraded
1
down
2

Connect Sensu to Alert24 in minutes

Free plan includes 5 monitors, 1 status page, and incident management. No credit card required.

More Monitoring & Observability Integrations