Cisco Cisco Workload Automation 6.3 사용자 가이드
42
Working with JDBC Events
Assigning an Action to an Event
24.
In the
From Time (hh:mm:ss)
field, click the down arrow to enter a time in the clock dialog or type the time directly
in the field.
25.
In the
Until Time (hh:mm:ss)
field, click the down arrow to enter a time in the clock dialog or type the time directly
in the field.
26.
To delete a selected time window, click
Delete
.
27.
To delete all of the defined time windows listed in this text field, click
Clear
.
28.
Click
OK
to add the new event.
Assigning an Action to an Event
You can assign one or more actions to an event so that you know when the event has triggered or configured an
automated response. You can add any action for a JDBC event that is available in CWA.
automated response. You can add any action for a JDBC event that is available in CWA.
For example, to define an e-mail action for a JDBC event:
1.
In the
Navigator
pane, select
Definitions>Actions >Email
.
2.
Click the
Add
button on the CWA toolbar or right-click the action on the
Actions
pane and select
Add
Action
from
the context menu to display the
Action Definition
dialog.
Figure 1
Action Definition Dialog
The JDBC event variables that are available with the JDBC adapter are described as follows and only apply when
the action is associated with a JDBC event:
the action is associated with a JDBC event:
—
DB Name
– Name of database where the event was triggered.
—
DB.Table
/Index
– The table
or index
that triggered the event.
—
DB.User
– The database user who triggered the event.
—
Row Count
– The number of rows in the table that triggered the event. Applies to all events.
For the custom monitor, the row count is the number of rows in the result set from the custom query.
—
Column Value
– The MAX column value and the MIN column value respectively.
For the custom query monitor, the column value is the value of the first row's first column from the result set.
—
EventOutput
– The output of the event selected.