SOI Alarm Enrichment for 2 variables

book

Article ID: 108974

calendar_today

Updated On:

Products

CA Service Operations Insight (SOI)

Issue/Introduction

Procedure to create & deploy an Event Enrichment Policy that takes Alert Message as an argument and extract 2 values from this Message and assign these 2 values to UserAttributes like UserAttribute9 & UserAttribute10

Dear Team, I need an assistance regarding the alarm enrichment issue which I am facing currently. Actually I am trying to pass 2 variable as arguments in a single policy so that I can set it to 2 custom user attributes. However it looks like for single variable it works fine. For the 2nd one it is not printing the value instead it is appended with attrribute1. Please refer this community link for reference. https://communities.ca.com/thread/241813206-soi-alarm-enrichment-for-2-variables

Environment

Windows
SOI 4.0 & 4.2

Resolution

The output has to be a paired list, separated by comma, hence we need to use below syntax
     WScript.Echo "clientserver,",client,",errorcode,",error1

Note: The value of "client" will be passed to "clientserver" and "error1" variable value to "errorcode"

Here is the step by step instructions...






Here is the VB Script code


Note:
Update below line in "\SOI\jsw\conf\SAM-IntegrationServices.conf"

             wrapper.java.additional.10=-Dcachetimeout=60

Note: The sequence number “10” may be different, please check the last number and then increase by 1 
           Restart "CA SAM Integration Services" after above change

Now, the enrichment policy will extract required 2 values and assign them to UserAttribute9 & UserAttribute10

Attachments

1558698382375000108974_sktwi1f5rjvs16jav.jpeg get_app
1558698380550000108974_sktwi1f5rjvs16jau.jpeg get_app
1558698378838000108974_sktwi1f5rjvs16jat.jpeg get_app
1558698377174000108974_sktwi1f5rjvs16jas.jpeg get_app
1558698375358000108974_sktwi1f5rjvs16jar.jpeg get_app
1558698373735000108974_sktwi1f5rjvs16jaq.jpeg get_app
1558698371942000108974_sktwi1f5rjvs16jap.jpeg get_app