Performance Views

適用於: System Center Operations Manager 2007

Performance views provide a graphical presentation of values from performance collection rules.

Contents

The contents of a performance view are determined by the following properties:

Target

A performance view will display one or more performance counters associated with the target class or any classes hosted by the target class. All instances of the target class in the management group will be included unless criteria or a group is specified to limit the instance displayed. All performance values associated with these objects will be included unless you specify criteria to limit them.

Group

If a group is specified, all instances of the target class in the group will be included. Even though the group may contain objects of different classes, only instances of the target class are displayed.

注意

If Entity is used for the target class, all objects in the group are included in the view. This is because all classes inherit from Entity.

Criteria

A performance view does not require criteria. If it is provided, criteria in a performance view define the performance counters that should be included in the graph. If no criteria are specified than all performance counters from all collection rules targeted at the included objects will be included. If criteria are provided, the performance counters are limited to those matching the specified criteria. The properties that you can use in criteria are provided in the following table with a sample of the XML code in the view definition.

Condition Description Example

RuleList

One or more performance collection rules to include in the view. If the Operations console is used to define this property, the GUID of the rule will be used. This should be replaced with the $MPElement variable for the rule so that the management pack can be copied between management packs.

<RuleList>
   <Rule>$MPElement[Name='MyApp.MyCollectionRule']$</Rule>
</RuleList>

Object

The object name of the performance counters to include.

<Object>MyObject</Object>

Counter

The counter name of the performance counters to include.

<Counter>MyCounter</Counter>

Instance

The instance name of the performance counters to include.

<Instance>MyInstance</Instance>

Formatting

The formatting of a performance view is controlled by the properties in the following table. Most of this configuration can be performed with the properties dialog box for the view in the Operations console.

Condition Description Example

Time Range

Defines the time range to use for the graph.

If the IsDynamic value is set to true, the time range is set for between the current time and the duration from the current time defined by DynamicTimeTicks. This is the number of seconds multiplied by 10,000,000. This duration is dynamically updated based on the current time.

If the IsDynamic value is set to false, the times set in StartTime and EndTime are used.

<StartTime>2010-06-06T15:10:00.1976772-07:00</StartTime>
<EndTime>2010-06-013T15:10:00.1976772-07:00</ EndTime>
<DynamicTimeTicks>864000000000</DynamicTimeTicks
<IsDynamic>true</IsDynamic>

ChartType

The type of chart. Acceptable values are Line and Spline.

<ChartType>Line</ChartType>

Text

The fonts and colors that are used for different titles and labels.

<TitleFont>Microsoft Sans Serif,12,Regular</TitleFont>
<ChartFont>Microsoft Sans Serif,8.25,Regular</ChartFont>
<LabelFont>Microsoft Sans Serif,14,Regular</LabelFont>
<XAxisFont>Microsoft Sans Serif,8.25,Regular</XAxisFont>
<YAxisFont>Microsoft Sans Serif,14,Regular</YAxisFont>
<LabelColor>-16777216</LabelColor>

Axes

Specifies the configuration of the axes. The AxisMin and AxisMax values are only used if AutoAxis is set to false. These values set the configuration of the Y-Axis.

<XLabelAngle>0</XLabelAngle>
<YAxisVisible>True</YAxisVisible>
<YAxisVisible>True</YAxisVisible>
<AutoAxis>true</AutoAxis>
<AxisMax>100</AxisMax>
<AxisMin>0</AxisMin>

Gridlines

Specify which gridlines are displayed.

<XShowMajorGridlines>false</XShowMajorGridlines>
<XShowMinorGridlines>false</XShowMinorGridlines>
<ShowInterlaceStrips>false</ShowInterlaceStrips>
<XInterlaceColor>16777215</XInterlaceColor>
<YShowMajorGridlines>true</YShowMajorGridlines>
<YShowMajorGridlines>true</YShowMajorGridlines>
<YShowInterlaceStrips>false</YShowInterlaceStrips>

3D

Specifies whether the graph should be displayed in 3D and sets different options for the rotation. The options only take effect if the Is3DMode property is set to true.

<Is3DMode>true</Is3DMode>
<Perspective>10</Perspective>
<GraphXRotation>0</GraphXRotation>
<GraphYRotation>0</GraphYRotation>
<RightAngleAxes>false</RightAngleAxes>
<ClusterSeries>false</ClusterSeries>
<Depth>100</Depth>
<GapDepth>100</GapDepth>

View options

Shows the performance baseline for rules using self-tuning.

<BaselineMode>false</BaselineMode>
<ShowAlerts>false</ShowAlerts>
<ShowMaintenanceMode>false</ShowMaintenanceMode>

General Formatting

<XShowSideMargin>true</XShowSideMargin>
<YShowSideMargin>true</YShowSideMargin>