wsdm message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: CBE discussion examples
- From: John Gerken <John_Gerken@us.ibm.com>
- To: wsdm@lists.oasis-open.org
- Date: Thu, 17 Jun 2004 11:42:38 -0400
Here are a couple examples of simple
CBEs for our call today. There's obviously lots of stuff not included
here, but perhaps we can use these as a place to start our discussions.
Recall that the basic structure for a CBE is the so-called "4-tuple"
made up of the following four pieces:
- The sourceComponentId (the identification
of the component that was affected)
- The reporterComponentId (the identification
of the component that reported the event)
- The situation (the data that describes
the situation or event )
- The contextDataElements (contextual
data that is used to correlate events or situations)
reporterComponentId is only required
if different from sourceComponentId. contextDataElements is optional.
With that in mind, consider these two simple cases.
<!-- simplest CBE -->
<CommonBaseEvent
creationTime="2001-12-31T12:00:00"
version
= "2.1">
<sourceComponentId
componentAddressType = "TCPAddressTypeV4"
xsi:type="TCPAddressType"
componentType = "http:// www.ibm.com/namespaces/database/DB2_componentTypes"
component = "IBM DB2#7.1"
subComponent = "Engine"
ipAddress = "9.27.80.22"
ipType = "IPV4"/>
<situation
categoryName="StartSituation"
reasoningScope="EXTERNAL"
xsi:type="StartSituation"
successDisposition="SUCCESSFUL"
situationQualifier="START INITIATED"/>
</CommonBaseEvent>
<!-- CBE with human readable information
for a UNIX Syslog-->
<CommonBaseEvent
creationTime="2001-12-31T12:00:00"
version="2.1"
globalInstanceId="CED849B8B0CB3C1D448332C902BFE111D8">
<sourceComponentId
componentAddressType="TCPAddressTypeV4"
xsi:type="TCPAddressType"
componentType = "http:// www.ibm.com/namespaces/database/"
component = "IBM DB2#7.1"
subComponent = "Engine"
ipAddress = "9.27.80.22"
ipType = "IPV4"
processId = "7304"/>
<situation
categoryName="StartSituation"
reasoningScope="EXTERNAL"
xsi:type="StartSituation"
successDisposition="SUCCESSFUL"
situationQualifier="START INITIATED"
msg = "Here is my message"
msgLocale = "en-US"
severity="10"/>
</CommonBaseEvent>
Thanks,
John Gerken
Technical Team Leader
Emerging Technologies Toolkit Development
IBM Emerging Technologies Software Group
John_Gerken@us.ibm.com
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]