You can use `ref` URIs in admonitions (or any shortcodes) because they are inline and not subject to the issues noted in the [`admonition` shortcode](https://grafana.com/docs/writers-toolkit/write/shortcodes/#code-shortcode:~:text=to%20core%20understanding.-,WARNING,For%20more%20information%2C%20refer%20to%20Markdown%20Reference%20Links%20in%20Shortcodes.,-Examples). The `ref` URIs perform the same pattern matching as `docs/reference` but don't require the use of reference-style links and the destinations are ordinary (full) URLs that can include version substitution. Unlike `docs/reference`, the implementation doesn't use `relref` so you don't have to be careful with omitting trailing slashes and the links will follow redirects. Documentation: https://grafana.com/docs/writers-toolkit/write/links/#link-from-source-content-thats-used-in-multiple-projects To check the links, refer to the deploy preview in https://github.com/grafana/website/pull/19630. Signed-off-by: Jack Baldry <jack.baldry@grafana.com> --------- Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2.7 KiB
2.7 KiB
| title | menuTitle | description | weight | keywords | labels | canonical | aliases | refs | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| UptimeRobot integration for Grafana OnCall | UptimeRobot | Learn how to configure the UptimeRobot integration for Grafana OnCall. | 0 |
|
|
https://grafana.com/docs/oncall/latest/configure/integrations/references/uptimerobot |
|
|
UptimeRobot integration for Grafana OnCall
{{< admonition type="note" >}} This integration is available exclusively on Grafana Cloud. {{< /admonition >}}
The UptimeRobot integration for Grafana OnCall handles ticket events sent from UptimeRobot webhooks. The integration provides grouping, auto-acknowledge and auto-resolve logic via customizable alert templates.
Configuring Grafana OnCall to Receive Alerts from UptimeRobot
- In the Integrations tab, click + New integration.
- Select UptimeRobot from the list of available integrations.
- Enter a name and description for the integration, click Create
- A new page will open with the integration details. Copy the OnCall Integration URL from HTTP Endpoint section.
Configuring UptimeRobot to Send Alerts to Grafana OnCall
- Open https://uptimerobot.com and log in
- Go to My Settings > Add Alert Contact and set the following fields:
- Alert Contact Type: Webhook
- Friendly Name: Grafana OnCall
- URL to Notify: OnCall Integration URL POST Value (JSON Format):
{
"monitorURL": "monitorURL",
"monitorFriendlyName": "monitorFriendlyName",
"alertType": "alertType",
"alertTypeFriendlyName": "alertTypeFriendlyName",
"alertDetails": "alertDetails",
"alertDuration": "alertDuration",
"sslExpiryDate": "sslExpiryDate",
"sslExpiryDaysLeft": "sslExpiryDaysLeft"
}
-
Flag Send as JSON
-
Click Save Changes and Close
-
Send Test Alert to Grafana OnCall
-
Click Add New Monitor
-
Monitor Type HTTP(s)
-
Friendly Name Test OnCall
-
Set URL to http://devnull.oncall.io or any other non-existent domain
-
Click Checkbox next to OnCall Alert Contact (created in the previous step)
-
Click Create Monitor