[ Bottom of Page | Previous Page | Next Page | Contents | Index ]
Objective
To test a resource model that retrieves its data from a Java provider so
you can identify and correct problems.
Background information
After creating a resource model that retrieves its data from a Java data
provider, you can test it in the IBM Tivoli Monitoring Resource Model Builder. Note that testing only works
if the Java data provider can run on Windows and has a MOF file that is compatible
with WMI.
Before you begin
Make sure the MOF file for your Java provider is compiled into the WMI
repository. If the MOF file is not correctly registered in WMI, a warning
appears in the Tasks view.
When you finish
None
Procedure
- Copy the Java provider jars and any other supporting files to the following
directory:
<RMBInstallDir>\eclipse\plugins\com.ibm.tivoli.monitoring_1.1.0\Lcfnew\
Itm\Pacs\<Category>
where:
- <RMBInstallDir>
- The directory into which you installed the IBM Tivoli Monitoring Resource
Model Builder.
- <Category>
- The internal category name of the resource model you are testing.
- (Optional) If your resource model (or the data
provider that your resource model uses) relies on context information, you
can insert calls to the following Service Object method in the Init section
of the decision tree to set this information.
void setPropertyContext(String key, String value)
Note:
Only use this method during testing in the IBM Tivoli Monitoring Resource Model Builder.
- Run the resource model by clicking the Run icon (right-arrow icon, shown
below) from the menu bar to start testing.
- (Optional) Verify that indications and events
are being sent as configured through the RMB
Indication Viewer and RMB Event Viewer views.
[ Top of Page | Previous Page | Next Page | Contents | Index ]