← Back to Integration
MONITORING AND OBSERVABILITY

Integration with Grafana Alerting Integration with SPOG.AI

Overview

SPOG.AI integrates with Grafana Alerting to centralize incident visibility, receive alert notifications, and enrich alert workflows across your monitoring ecosystem. Once configured, SPOG.AI automatically ingests alert events generated by Grafana for unified incident response and correlation.

Key Features

CapabilityDescription
Alert Notification IngestionReceive real-time alert events from Grafana.
Alert CorrelationMap alerts to services & CMDB assets.
Incident Auto-CreationCreate incidents in SPOG based on Grafana alert triggers.
EnrichmentAdd metadata such as labels, tags, severity, and rule details.
Webhook-Based PushGrafana sends alert notifications directly to the SPOG Webhook endpoint whenever an alert rule is triggered, resolved, or updated.
No Polling RequiredPush-based delivery in real time, with no polling or API-based pull required.

How the Integration Works

SPOG.AI connects to Grafana by using a Webhook-based push integration. Grafana sends alert notifications directly to the SPOG Webhook endpoint whenever an alert rule is triggered, resolved, or updated.

The integration supports alert notification ingestion, alert correlation, incident auto-creation, and enrichment, as described under Key Features.

Data Collected

Once integrated, SPOG.AI can capture:

CategoryData CollectedDescription
Alert MetadataRule Name, Alert State (firing, resolved, no data), Severity, Labels & Tags, Evaluation TimeCore details of each alert event sent by Grafana.
Payload & ContextTrigger conditions, Thresholds, Datasource details, Dashboard or panel metadataContext describing why and where the alert was raised.
Automation CapabilitiesAuto-creation of incidents; mapping alerts to services in CMDB; alert correlation with logs, metrics, and other eventsActions SPOG.AI can take on the captured alerts.
Sync BehaviorPush-based — alerts are sent in real time; no polling or API-based pull requiredHow alert data reaches SPOG.AI.

Prerequisites

Before configuring the integration, ensure the following prerequisites are met:

Access Requirements

  • Organization Admin or Tenant Admin access in SPOG.AI.
  • Admin access to the Grafana Alerting Console.

Platform Requirements

  • Grafana 8+ with the Unified Alerting framework.
  • Outbound internet access from Grafana to SPOG Webhook endpoint.
  • TLS 1.2 or higher enabled on all outgoing integrations.

Configuration

  1. Generate Connection Details

Navigate to: Settings → Integrations → Add Integration.

  • Select Grafana Integration.
  • Click Configure.
  • A Webhook Endpoint URL will be generated.
  • Copy and securely save this Webhook endpoint — it will be required in Grafana.

The Webhook endpoint format is similar to:

https://<spog-appliance>/api/v1/webhook/grafana/<unique-token>

2. Configure Grafana in SPOG

  • Go to Alerts & IRM → Alerting → Contact points.
  • Click + Add contact point.
  • Enter a meaningful contact point name (e.g., SPOG Webhook).
  • From Integration, select Webhook.
  • In the URL field, paste the Webhook URL generated from SPOG.
  • Click Test to verify connectivity.
  • Click Save contact point.

3. Attach Contact Point to Alert Rules

  • Navigate to Alerting → Alert rules.
  • Edit an existing alert rule or create a new one.
  • Scroll to Configure labels and notifications.
  • Under Notifications, click Select contact point.
  • Choose the Webhook contact point created earlier.
  • Click Save rule and exit.

4. Security & Access Control

  • Ensure the Webhook URL is stored securely, as it contains a unique integration token.
  • Only Grafana Alerting services should have permission to use the Webhook.
  • Follow least-privilege access within Grafana.
  • Rotate alerting secrets periodically (recommended every 90 days).
  • If Grafana is self-hosted, ensure no unauthorized outbound integrations are allowed.

5. Network & Connectivity

Required Connectivity

  • Grafana must be able to access the SPOG Webhook URL over HTTPS (port 443).
  • If a corporate firewall or proxy is present, whitelist:
  • 1. The SPOG Webhook endpoint domain/IP
  • 2. Grafana server outbound IPs for monitoring

TLS Requirements

  • TLS 1.2+ must be enabled on Grafana and SPOG.
  • SSL inspection should not modify or block Webhook requests.

Proxy Note

If Grafana uses a proxy, ensure POST JSON payloads are allowed.

6. Validation & Testing

From Grafana

  • Use the Test button in the contact point.
  • A successful test indicates:
  • 1. Network routes are functional
  • 2. Webhook endpoint is accessible
  • 3. Grafana is able to deliver alert payloads to SPOG

In SPOG.AI

  • Navigate to Events / Incoming Alerts.
  • Confirm receipt of:
  • 1. Test notification
  • 2. Active alert events
  • 3. Resolved alert events

Uninstalling the Integration

From SPOG.AI

  • Go to Settings → Integrations.
  • Locate Grafana Integration.
  • Click Delete to remove the integration and disable the Webhook.

From Grafana

  • Navigate to Alerting → Contact Points.
  • Locate the Webhook contact point.
  • Delete or disable the contact point.
Frequently Asked Questions