Selecting objects for a report

適用於: Operations Manager 2007 R2

All generic reports and many reports included in management packs require you to select one or more objects or groups before you can run the report. The objects or groups that you select determine which data is included in the report. If you select an object that is not valid for the particular report, it may return no data.

When you run a report from the Action pane in the Monitoring workspace, any objects currently selected in the Operations console will be added to the report. You can then choose to add additional objects or groups. When you run a report from the Reporting workspace, you need to add at least one object or group.

The data included in a report will be determined by the objects that you select. Any data associated with the included objects will be included in the report. For example, in an Alert report, all alerts created by monitors or rules targeted at any included objects will be used. For a performance report, the values of any performance counters collected by rules targeted at the selected objects will be used.

注意

Some reports will not require an object to be selected. These are custom reports provided with management packs that already have the appropriate objects selected. Details on the data included in the report should be provided in the Report Details.

Selecting an object or group

When you run a report, you can add objects to it using the Add Group and Add Object buttons in the Objects section of the Report Parameters. Both of these dialog boxes will provide access to all of the objects in the current management group listed with their class. This helps to distinguish objects with the same name and to identify related objects of the same class.

Even though you can select the same objects from both dialog boxes, the effect of each selection will be different. If you use the Add Object dialog box, then the object will be added to the report with an Include setting of This object. In this case, only data associated with the specific object is included in the report. If you use the Add Group dialog box, then the object is added to the report with an Include setting of All contained objects. In this case all objects contained by the select object are included in the report. If both the object itself and its contained objects should be included in the report then the same object should be selected both using the Add Group and Add Object dialog box.

The Add Group dialog box is typically used to select groups. For example, if you select All Windows Computers, then all objects of the Windows Computer class would be included in the report.

Classes other than groups may also be used though, since other classes can also contain other objects. For example, computers are represented by the Windows Computer class. If the computer itself should be added to the report, then it should be selected using Add Object. If a computer is selected with Add Group, then all of the objects on the computer are included in the report. If both the computer and its contained objects should be added to the report, then the same object should be selected using both Add Object and Add Computer.

注意

Some reports have a filter set on the Add Group and Add Object dialog boxes that limit the objects that can be accessed. This assists you in selecting only those objects that are valid for the particular report.

Selecting multiple objects

If you select multiple objects when running a report, then data from each of the objects are included. Multiple objects can be included in a report using one or more of the following methods:

  • Individually select multiple objects using the Add Object dialog box

  • Select a group that contains multiple objects using the Add Group dialog box

  • Select multiple objects in the Monitoring workspace and open the report from the Actions pane.