240 Tivoli Business Systems Manager Version 2.1: End-to-End Business Impact Management
Figure 7-17 Note editor for closing an event
3. If an IBM Tivoli Business Systems Manager administrator acts upon an event
from the console (such as either an ACK or a CLOSE), this invokes a trigger
within the IBM Tivoli Business Systems Manager database. This calls a
routine that causes an event to be generated using postemsg and sent to TEC
to advise the change in status of this event.
Example 7-13 wtdumprl
1~5~1~1038418574(Nov 27 11:36:14 2002)
### EVENT ###
TBSM_setemsg_status_event;source=TBSM;msg='TBSM
ownership';o_server_handle=1;o_event_handle=1;o_date_reception=1038418015;o_cla
Chapter 7. TEC components integration 241
ss=w2k_MemAvailBytes;new_admin='TBSM:administrator';new_status=ACK;origin=9.3.4
.55;END
### END EVENT ###
PROCESSED
1~6~2~1038418574(Nov 27 11:36:14 2002)
### EVENT ###
TBSM_setemsg_status_event;source=TBSM;msg='TBSM
ownership';o_server_handle=1;o_event_handle=1;o_date_reception=1038418015;o_cla
ss=w2k_MemAvailBytes;new_admin='TBSM:administrator';new_status=CLOSED;origin=9.
3.4.55;END
### END EVENT ###
PROCESSED
This is an example of closing the event from IBM Tivoli Business Systems
Manager console. An ACK event is sent to TEC prior to the actual closing
event, due to a notice creation procedure within the IBM Tivoli Business
Systems Manager that creates this ACK event.
4. TEC receives this ACK event, which should have the class called
TBSM_setemsg_status_event. When this event is parsed it will invoke the
tbsmstatus.rls rule set, which will update the corresponding TEC status of this
event. This set of rules also will drop the change-of-status event as sent by
IBM Tivoli Business Systems Manager so that it is not reflected by the TEC
console. You can see the rule trace in Example 7-14.
Example 7-14 rules.trace
115]=> rule set tbsmstatus
[116] -> rule tbsm_setemsg_status_rule
event : 0x183fda8 of_class TBSM_setemsg_status_event
[117] call condition
[118] call o_class : _653
[119] exit o_class : w2k_MemAvailBytes
[120] call o_date_reception : _1195
[121] exit o_date_reception : 0x3de5005f
[122] call o_server_handle : _1737
[123] exit o_server_handle : 1
[124] call o_event_handle : _2279
[125] exit o_event_handle : 1
[126] call new_status : _2821
[127] exit new_status : CLOSED
[128] call new_admin : _3363
[129] exit new_admin : 'TBSM:administrator'
[130] exit condition
[131] call reception_action action0
[132] call drop_received_event
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.189.170.134