IBM Support

Using CAP for KPI events

Question & Answer


Question

Using CAP for KPI events

Answer


IBM brand Intelligent Operations Center Version 1.0.0

Using CAP for KPI events

The WebSphere? Message Brokerwhich is provided as part of the IBM? Intelligent Operations Center accepts CAP eventmessages and uses the data in key performance indicator (KPI) calculations.

Table 1 lists the dataelements used in KPI calculations:

Table 1. CAP elements usedin IBM Intelligent Operations Center KPI calculations
Required or OptionalData Element (normative)Description
RequiredMessage_ID (identifier)Unique message identifier
RequiredSender_ID (sender)Unique sender identifier
RequiredSentDateTime (sent)Date and time of the event

For example: 2011-02-07T16:49:00-05:00

RequiredMessageStatus (status)One of the following:
  • Actual
  • Exercise
  • System
  • Test
  • Draft
RequiredMessageType (msgType)One of the following:
  • Alert
  • Update
  • Cancel
  • Ack
  • Error
OptionalSource (source)The source of the message
RequiredScope (scope)Contains the value Public
RequiredCode (code)Contains the value KPI to hide this event fromthe Events portletlist.
RequiredEventCategory (category)One of the following:
  • Geo
  • Met
  • Safety
  • Security
  • Rescue
  • Fire
  • Health
  • Env
  • Transport
  • Infra
  • CBRNE
  • Other
RequiredEventType (event)Description of the event.

For example: Police_Department_Budget

RequiredUrgency (urgency)One of the following:
  • Immediate
  • Expected
  • Future
  • Past
  • Unknown
RequiredSeverity (severity)One of the following:
  • Extreme
  • Severe
  • Moderate
  • Minor
  • Unknown
RequiredCertainty (certainty)One of the following:
  • Observed
  • Likely
  • Possible
  • Unlikely
  • Unknown
OptionalEventCode (eventCode)Name value pairs for event typing.
OptionalOnsetDateType (onset)Date time when the event started.

For example: 2011-02-08T16:49:00-05:00

OptionalSenderName (senderName)Name of the entity initiating the alert.

Forexample: Police Department

OptionalEventDescription (description)Detailed description of the event
OptionalParameter (parameter)Additional data associated with the event.
OptionalAreaGeocode (geocode)A field that can be used to provide informationwhen the KPI is location dependent

For more information see the OASIS Common Alerting Protocol specification.

The following is an example of an event reporting a caraccident.
<?xml version="1.0" encoding="UTF-8"?><cap:alert xmlns:cap="urn:oasis:names:tc:emergency:cap:1.2"	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"	xsi:schemaLocation="urn:oasis:names:tc:emergency:cap:1.2 CAP-v1.2-os.xsd ">	<cap:identifier>1112</cap:identifier>	<cap:sender>Transportation</cap:sender>	<cap:sent>2011-02-17T15:00:00-05:00</cap:sent>	<cap:status>Actual</cap:status>	<cap:msgType>Alert</cap:msgType>	<cap:scope>Public</cap:scope>	<cap:code>KPI</cap:code>	<cap:info>		<cap:category>Transport</cap:category>		<cap:event>Traffic_Accident</cap:event>		<cap:urgency>Unknown</cap:urgency>		<cap:severity>Extreme</cap:severity>		<cap:certainty>Unknown</cap:certainty>		<cap:eventCode>			<cap:valueName>OwningOrg</cap:valueName>			<cap:value>Police</cap:value>		</cap:eventCode>		<cap:onset>2011-02-17T15:00:00-05:00</cap:onset>		<cap:senderName>Transportation</cap:senderName>		<cap:description>Single car crash</cap:description>		<cap:parameter>			<cap:valueName>accident number</cap:valueName>			<cap:value>1112</cap:value>		</cap:parameter>	</cap:info></cap:alert>

Library | Support |Terms of use

(c) Copyright IBM Corporation 2011 2012. All rights reserved.
U.S. Government Users Restricted Rights - Use duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

"

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSMGP8","label":"Smarter Cities"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
08 December 2018

UID

ibm10751155