BSI provides the capability to define alert devices. Basically, an alert device is a program that gets called by the alert engine and passes various arguments. SOI provides a command line utility for sending information through the universal connector via web service calls. Among others you can create CIs and Send Events/Alarms. Fundamentally this integration is accomplished defining the SOI command line utility in BSI as an Alert Device. Specifically, a wrapper script is defined as the alert device which will parse the BSI alert fields and call the SOI command line utility correctly.
This is a brief high-level description of how you can integrate BSI and SOI in order to get the services from SOI into BSI through the 'SSA Settings' page in BSI.
CA Business Service Insight (BS) 8.3.5
CA Service Operations Insight (SOI) 4.2 and 4.3
Integration Steps
Universal Connector Client Directory Structure
<Events> <Event> <property tag="eventType" value="AddCIEvent" /> <property tag="instanceID" value="SA_Application:National Help Desks" /> <property tag="className" value="Application" /> <property tag="deviceID" value="Device" /> <property tag="situationMessage" value="Adding a new CI" /> <property tag="Vendor" value="CA_BSI" /> <property tag="ProductName" value="CA_BSI" /> </Event></Events>
GCEventAddCmd -h####.####.####.####:7090 –fgc_ciadd-application-bsi-national-servicedesks.xml
where ####.####.####.#### is the IP address of the SOI host
Refer to Universal Connector Command Line Interface for further details about the SOI Command Line Interface
Sample Command
"D:\Program Files (x86)\CA\"SOI\GCEventAddCmd.bat -h####.####.####.####:7090 -a20121514412382-i"SA_Application:Help Desk" -cApplication -dCA_BSI -s2 -tQuality -m"SLA TargetViolation Contract [Company A] Metric [Percentage of priority 2 resolutions that occurredbetween 61-120 minutes] Target [0] ServiceLevel [7.7]"
where ####.####.####.#### is the IP address of the SOI host
• Create wrapper script for BSI to call
Wrapper script file location
Example Wrapper Batch File
@echo offsetlocalset COMMAND=SOI\GCEventAddCmd.batset CA_HOME="D:\Program Files (x86)\CA\"set SOI_HOST=<IP Address of SOI host>set SOI_PORT=7090set DEVICE=CA_BSIset DEFAULT_APP=SA_Applicationset CLASS_NAME=Applicationset TYPE=Qualityrem the following procedure is used to get a timestamp in the form of YYYYMMDDHHMMSSCCwhich will be used for bothrem logging and as the *unique alert id.for /f "skip=1 tokens=2-4 delims=(-)" %%a in ('"echo.|date"') do (for /f "tokens=1-3 delims=/.- " %%A in ("%date:* =%") do (set %%a=%%A&set %%b=%%B&set %%c=%%C))set /a "yy=10000%yy% %%10000,mm=100%mm% %% 100,dd=100%dd% %%100"for /f "tokens=1-4 delims=:. " %%A in ("%time: =0%") do @setUNIQUE=%yy%%mm%%dd%%%A%%B%%C%%Drem parse the arguments passed to this script to determine the correct CI for SOIfor /f "tokens=1,2 delims=:" %%a in ("%~1") do set service=%%a&set message=%%becho %UNIQUE% %CA_HOME%%COMMAND% -h%SOI_HOST%:%SOI_PORT% -a%UNIQUE% -i"%DEFAULT_APP%:%service%" -c%CLASS_NAME% -d%DEVICE% -s%3 -t%TYPE% -m"%~2%message%" >> %0.log%CA_HOME%%COMMAND% -h%SOI_HOST%:%SOI_PORT% -a%UNIQUE% -i"%DEFAULT_APP%:%service%" -c%CLASS_NAME% -d%DEVICE% -s%3 -t%TYPE% -m"%~2%message%"echo Return code: %ERRORLEVEL%
Example BSI Alert Device
Example BSI Alert Recipient
Example BSI Alert Profile
If there are any questions or issues, please contact Broadcom Support for further assistance.