ServiceNow
ServiceNow#
Overview#
This integration sends out notifications to ServiceNow.
Configure the channel#
Go in Configuration Management
Go in Alert Channel
, and hit the +
button.
Select the servicenow
template . Select the Analytic Engine
on which you want this configuration to be deployed; and provide a Configuration Name
that is meaningful for you. The Description
is optional.
[servicenow]
enabled = true
url = "https://instance.service-now.com/api/now/v1/table/em_alert"
source = "Unryo"
username = ""
password = ""
Enter the correct settings: * url: The ServiceNow API URL. This should not need to be changed. * source: Default “Unryo” source. * username: Username to use for basic HTTP authentication. * password: Password to use for basic HTTP authentication.
Once done, click Apply
. Your Channel is ready.
Configure your Alert Definitions#
Go in Alert Definitions
, and edit the configuration(s) for which you want ServiceNow notification.
Add the ServiceNow settings, as per the example below:
.serviceNow()
.node('{{ index .Tags "resource" }}')
.type('{{ index .Tags "resource_type" }}')
.resource('CPU-Total')
.metricName('usage_user')
.messageKey('Alert: {{ .ID }}')
By default, the following alert fields/tags are mapped to the ServiceNow Alert: * Source > Source * Message > Description * alertID > MessageKey
For information about ServiceNow alerts, see here.
Once done, click Apply
. Your Alert definition is ready to send ServiceNow notification.