Previous Topic: Create a Script Enrichment ActionNext Topic: Create a Map Enrichment Action


Script Enrichment Examples

The following examples show how you can use the enrich event action to enrich events with information from a script when search patterns match:

Example: Enrich events with descriptive information from CA NSM

This example shows how you can use the enrich event action to enrich events with output information from a script when search patterns match. The example uses the CA NSM enrichment provided with the Mid-tier connector. This enrichment could be useful in CA SOI for situations such as the following:

Important! The enrichments use .jar files that are only available with the Mid-tier connector. Deploy these provided enrichments on the Mid-tier connector only.

This example enriches events with comment information stored about the related CI in CA NSM. The information could help you resolve alerts related to the CI. For this enrichment to work, at the minimum, a CA NSM WorldView client must be installed with the remote WorldView repository on the connector system to which you deploy the event policy.

Example: Enrich events with information from a Windows VB script

This example illustrates how you can enrich events with output information from a Windows VB script. Information from the Windows operating system that is not already included with an event could be useful for alert diagnosis and resolution. In this example, the event policy calls a VB script using the event server name as input and returns the location of the associated server: