Integrate Grafana events
-
- UpdatedJan 30, 2025
- 3 minutes to read
- Yokohama
- Event Management
Integrate Grafana with Event Management by adding a standard webhook in the Grafana console.
Before you begin
- Ensure that the Event Management Connectors (sn_em_connector) plugin is installed on the ServiceNow AI Platform instance.
- The Event Management plugin must be installed on the ServiceNow AI Platform instance.
- The CI binding happens through the IP, instances should be discovered as servers to initiate the binding. CIs discovered through cloud or CIs in cmdb_ci_vm_object don’t get bounded as Grafana doesn't provide any information for object IDs.
- Role required: evt_mgmt_integration
About this task
Configure the Event Management environment for the collection of events from Grafana. In your Grafana console, set your ServiceNow AI Platform instance as the rest endpoint using a standard webhook.
Procedure
-
In the Grafana console, create a notification channel.
-
In the Grafana console, create alerting rules.
-
In the Grafana console, create a contact point.
-
In the Grafana console, create a notification policy.
-
In the Grafana console, create alert rules.
Result
Alerts start flowing from Grafana into the Event Management plugin. The plugin extracts information from the original Grafana alert message to populate the required event fields and inserts the event into the database. In your ServiceNow AI Platform instance, navigate to All Events to see the events.
- For Grafana v7.4.3, you may see extra clear events coming into ServiceNow which aren’t bound to an alert. Ignore them as they’re created to overcome the issue of Grafana not sending information in the clear notification.
- A severity parameter is added which is used only for Grafana 8 and above. The provided value is used as a severity for an event if the severity isn’t passed in custom labels.