Integrate Grafana with OAuth authentication
Integrate Grafana with Event Management with ServiceNow using OAuth authentication.
Antes de Iniciar
- 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
Por Que e Quando Desempenhar Esta Tarefa
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.
Perform the following steps for Grafana v9.3.2 to send event to ServiceNow.
Procedimento
Resultado
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.
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.