Integrate Prometheus events
Integrate Prometheus with Event Management by adding a standard webhook in Prometheus's Alert Manager.
Before you begin
- Ensure that the Event Management Connectors (sn_em_connector) plugin is installed on the ServiceNow AI Platform instance.
- Verify Configuration Items for the hosts managed by Prometheus exist in ServiceNow. These CIs can be physical or virtual, and can be either manually created or discovered using IP discovery or Cloud discovery.
- Role required: evt_mgmt_integration
About this task
Procedure
Result
Alerts start flowing from Prometheus into the Event Management plugin. The plugin extracts information from the original Prometheus 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.
If severity isn't received in the payload, the default severity is Major, which can be changed in the Push Connector Configuration section of . The valid values of severity are 1- Critical, 2- Major, 3- Minor, 4- Warning, and 5- Info.
To map hosts to the cmdb_ci_vm_object record instead of cmdb_ci_hardware, enable the Prometheus VM Binding event rule created for Prometheus. For further information about event rules, see Event rules.