[ Bottom of Page | Previous Page | Next Page | Contents | Index ]
Objective
To associate recovery actions with an event.
Background information
It is possible to associate one or more recovery actions with a specific
event. These actions automatically trigger when the event occurs and can restore
a satisfactory system service level.
Actions are associated with either the execution of a CIM method or the
execution of a program. For example, if you are monitoring Windows NT services
and an event generates when a service stops, you can associate the event with
a recovery action that restarts the interrupted service.
Before you begin
Add an event or select an event to modify from the Event page. See, Editing events.
When you finish
Check the Tasks view to verify that you do not have any errors in your
resource model. If the Tasks view displays errors, correct the errors before
running the resource model. The Tasks view displays in the bottom pane of
the IBM Tivoli Monitoring Resource Model Builder.
Procedure
- Click Action from the Event page
to open the Event Actions for window.
- Do one of the following to add actions using either the CIM or program
method:
- Add a CIM Method action by doing the following:
- Click Add CIM Method to open the CIM Action Browser
window.
Additional Information: The CIM Action Browser
window lists available classes, and for each class, its instance keys, methods
and parameters.
The list in the upper part of the Methods group shows all the methods of the selected class, and specifies
whether the methods are static or non-static.
- Select the class that includes the required action by doing any of the
following:
- Select a class from the currently displayed list.
- Change the Namespace by doing the following:
- Enter the new name in the Namespace text box.
- Click the lightning icon to open the Logon window.
- Enter your User name and Password, if necessary.
Additional Information: If you are connected to a namespace, you are
not prompted to enter your user name and password if the current ones are
valid.
- Click Logon to connect to the namespace.
- Search for a specific class from the class list by doing the following:
- Click the binoculars icon to open the WMI Class Search window.
- Enter a search phrase and search option.
- Click Search to display the search results on the
bottom of the window.
- Select a class and click OK.
- Add a class by doing the following:
- Click the plus-sign icon to open the Add Class window.
- Enter a name for the Superclass and the New class name.
- Click OK to add the new class to the class list.
- Optional: Select a key attribute from the Instance keys group box.
Additional
Information: The Instance Key group box displays
only if you select non-static methods. Key attributes for the selected class
display. Click on an attribute in the Event attribute column to display a
drop-box. You can select "Not set" or any key attribute.
- Select a method from the Methods group box.
- Select a parameter from the Parameters for group
box.
- Type a descriptive name for the class in the Descriptive
name text box.
- Click OK to add the class and return to the Event Actions for window.
- Add a Program action by doing the following:
- Click Add Program from the Actions window to open
the Program Action Definition window.
- Type an internal name in the Internal name text
box.
- Type the Shell command (the command line which launches a process) in
the Shell command text box, or browse for a predefined
command.
Note:
For Windows and UNIX endpoints, always indicate
a slash ("/") in the Shell command path (for example, c:/action.bat).
- Enter a descriptive name and a description, in the corresponding text
boxes.
- Click OK to complete the definition of this action
and return to the Event Actions for window.
- Click OK to save the changes and return to the Events
editing page.
- Close the resource model, or go to another editing page.
[ Top of Page | Previous Page | Next Page | Contents | Index ]