[ Bottom of Page | Previous Page | Next Page | Contents | Index ]
Objective
To define what data to log for this resource model.
Background information
Use the logging function to store data about the attributes of the resource
you are monitoring. To implement logging in a resource model, first define
what data to log, then call the DefineLogInst method in the decision
tree script.
In the resource models you create, logging is disabled by default, but
you can enable it from the IBM Tivoli Monitoring windows.
Logged data is stored in a database that can be accessed through the IBM Tivoli Monitoring Web Health Console.
Before you begin
None
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
- Open the resource model.
- Select the Logging page.
- Select the resource to edit or click Add Logging to
add a new resource.
Note:
The logging resource internal name is the
concatenation of the Context and Resource. The internal name of a logging
resource must be unique within the entire set of resource models installed
on a specific IBM Tivoli Monitoring server.
Additional
Information: Complete the following logging options:
- Context
- The name of a general problem to which the resource logging relates.
This name displays in the IBM Tivoli Monitoring Web Health Console and is also the first parameter
passed in the Svc.LogInst or Svc.LogInstEx methods.
- Resource
- The name displayed in the IBM Tivoli Monitoring Web Health Console historical data and also
the second parameter passed in the Svc.LogInst or Svc.LogInstEx methods.
- Properties
- The PropertyDefinition is used to include the specific properties to
log. These are attributes of the resource you have specified.
To add properties:
- Click Add to display the Add New Logging Property
window.
- Enter the name of the property in the Name text
box.
Note:
Use the same names for properties here as in the logging
definitions when specifying the same metric.
- Click either String or Numeric in the Type field.
- Click either True or False in
the Key field.
True makes this the key attribute.
Key attributes are the most meaningful and play a fundamental role in the
event aggregation process.
- Click OK to save your changes and return to the Logging page.
- Type the name of a general problem that the resource logging relates to
in the Context text box.
- Type the name of the resource whose state you want to log in relation
to the specified context in the Resource text box.
- Save the changes, or go to another page to continue making changes.
[ Top of Page | Previous Page | Next Page | Contents | Index ]