StatusCake Event Source
The StatusCake Event Source for Signals allows users to create events in FireHydrant from uptime monitors in StatusCake. Anytime that StatusCake sends a webhook event to FireHydrant, we’ll evaluate the event payload to see if it matches a rule set up by one of your teams. Learn more about Alert Rules here.
Configuring StatusCake Webhook
-
In FireHydrant, navigate to the Event Sources page. Here, copy the ingest URL for StatusCake.
-
In StatusCake, navigate to Alerting > Contact Groups. Click the "New Contact Group" button to create a new contact group.
-
Scroll down to the Webhook URL, and add the url you copied in step 1. Set the Webhook Method to
POST
-
To add this webhook to any monitor, navigate to Monitors > All Monitors and select a monitor you want to connect to FireHydrant.
-
Click Edit on the Monitor and scroll to the Contact Groups. Add the contact group that you created in step 2. Click Save Now.
You can learn more about StatusCake webhooks by reading their Webhooks documentation.
Field Mappings
The following StatusCake webhook parameters are transposed to FireHydrant's Signals Events Data Model:
StatusCake Parameter | Signal Parameter(s) |
---|---|
URL | idempotency_key body |
Name | summary |
Status | status - Closed on FireHydrant when Up or UP on StatusCake, otherwise Openannotations['Status'] |
CheckRate ContactGroup IP StatusCode | annotations['CheckRate'] annotations['ContactGroup'] annotations['IP'] annotations['StatusCode'] |
Subsequently, the following webhook from StatusCake:
{
"Name": "My Website",
"Status": "UP",
"StatusCode": 200,
"URL": "https://www.example.com",
"IP": "1.2.3.4",
"CheckRate": 300,
"ContactGroup": "12345"
}
...will be transposed to the following Signal in FireHydrant:
{
"idempotency_key": "https://www.example.com",
"summary": "My Website",
"body": "https://www.example.com",
"status": "CLOSED",
"annotations": {
"CheckRate": "300",
"ContactGroup": "12345",
"IP": "1.2.3.4",
"StatusCode": "200",
"Status": "UP"
}
}
Updated 4 months ago