Skip to content

Route SQLite backup alerts to Grafana Cloud IRM

Page a Grafana Cloud IRM escalation chain directly from Litebackup when a backup threshold fires.

Add a Formatted Webhook integration

  • Create a Formatted Webhook

    In Grafana Cloud IRM, open Integrations and choose Monitoring systems. Add a Formatted Webhook, assign the team and configure the escalation chain for backups.

  • Connect Litebackup

    As an admin, open Alerts and choose Add destination. Select Grafana Cloud IRM and name the destination. Copy the integration URL from Grafana and paste it into HTTPS URL. Choose Add destination to save it.

Grafana Cloud IRM selected with its Formatted Webhook URL field. Grafana Cloud IRM selected with its Formatted Webhook URL field.

Inspect the alert group

On the Alerts page, choose Send test alert in the destination’s controls. The test can page a person. Check that both the trigger and recovery were accepted.

Find the test in the integration’s alert groups. The first request carries the state alerting and the second carries ok. The same alert_uid ties the pair together.

Check the integration type and route

If IRM accepts the requests but the group stays open, check that the URL belongs to a Formatted Webhook with its expected field mappings. If the group resolves but nobody was paged, inspect the matching route and escalation chain. To investigate a threshold alongside historical metrics, open the Litebackup Grafana dashboard.

Enable alerts

Check how many alerts are firing before choosing Enable delivery. Each server sends its open alerts immediately, then reports new alerts and recoveries for all enabled thresholds.

Add the destination from the server CLI

As an alternative to the console form, run this on the Litebackup server and enter the credentials at the prompt.

# Add the destination from the Litebackup server host.
litebackup server alert-destination add \
    --provider grafana \
    --name "Grafana Cloud IRM"

Install

Install Litebackup and back up a SQLite database to start monitoring it. Choose another paging service or chat channel in the alert integrations guide.