An incoming event from a discovered application
service or alert
group can bind to an alert based on an event rule and the corresponding event field mapping. The
event field mapping requires a URL or the port number and corresponding IP address for each
service or alert group.
Role required: evt_mgmt_admin
If the event is specific to a non-host CI, for example an
application
service or alert
group, use these steps to bind alerts to a non-host CI:
- Leave the Node field empty.
- Populate the CI Type with the CI type you want to bind.
- Make sure the additional_info field has enough information to
uniquely identify the CI. The algorithm matches all additional_info
attributes that have the same name as CI fields for that Event Type. If
the match is successful, the event will be bound to the CI.
Optional method:
- Leave the Node field empty.
- Populate the CI Identifier (ci_identifier) field with attributes, as
described above, that uniquely identify the CI.
-
Navigate to .
-
Click New and fill in the appropriate fields of the event
rule.
-
Click Transform.
-
From the CI type list, select
cmdb_ci_service_auto.
-
In the Event Match Fields section, insert a new row with these parameter values:
Field |
Value |
Field |
node |
Regular Expression |
(.*) |
Mapping |
temp node |
-
In the Event Compose Fields section, insert a new row with these parameter value:
Field |
Value |
Field |
node |
Composition |
(empty) |
-
Click Submit.
-
Navigate to .
-
Create the corresponding event field mapping with these parameter values:
Field |
Value |
Source |
Specify the event monitor software that generated the event. |
Mapping type |
Select Single field. |
From field |
Specify temp node. |
To field |
Specify name. |
-
In the Event Mapping Pairs section, insert new rows for each event mapping pair.
-
Set the Key with the URL or an IP address with corresponding port
value.
-
Set the Value with the discovered application
service,
technical service, or alert group name.
For example, you can add an event mapping pair for each service.
-
Click Submit.