Chapter 7. TEC components integration 223
Two new BAROC files have been added as well:
? interapp.baroc
? tbsmstatus.baroc
The uses of these files are:
? tbsmstatus.rls and tbsmstatus.baroc: These ruleset and class definitions are
used to maintain consistency in the status between IBM Tivoli Business
Systems Manager and TEC. In TEC the status can be:
ACK An operator has acknowledged the event and
assumed responsibility.
CLOSED The event has been resolved.
OPEN No action has been taken on the event.
RESPONSE A rule has responded automatically to the event.
Custom_status A site-specific status: The status has been added to
the STATUS enumeration.
From the console, an operator can take ownership of an event. This is
analogous to an ACK in IBM Tivoli Enterprise Console.
Events acknowledged in IBM Tivoli Enterprise Console result in a
take-ownership icon appearing on the console as soon as the event arrives.
When an event in IBM Tivoli Enterprise Console is closed, the severity of the
corresponding event in IBM Tivoli Business Systems Manager is set to
Harmless to indicate that the event has been resolved. If the status of an IBM
Tivoli Enterprise Console event is changed to RESPONSE, then the
automation-icon in IBM Tivoli Business Systems Manager can be set for the
corresponding resource. When an IBM Tivoli Business Systems Manager
operator takes ownership of an event, the status of the event in IBM Tivoli
Enterprise Console is changed to ACK. And if the event is set to Harmless in
IBM Tivoli Business Systems Manager, then the status of the event in IBM
Tivoli Enterprise Console is changed to CLOSED. The tbsmstatus.rls is
shown in Example 7-2.
Example 7-2 tbsmstatus.rls
rule:
tbsm_setemsg_status_rule:
(
event: _event of_class 'TBSM_setemsg_status_event'
where [
o_class: _o_class,
o_date_reception: _o_date_reception,
o_server_handle: _o_server_handle,
o_event_handle: _o_event_handle,
new_status: _new_status,