-
Notifications
You must be signed in to change notification settings - Fork 4
/
VMPerfRules.mptg.mpx
203 lines (203 loc) · 24 KB
/
VMPerfRules.mptg.mpx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!-- This file has been automatically generated.
Any changes made to this file may be lost the next time it is regenerated. -->
<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Monitoring>
<Rules>
<Rule ID="QND.Hyperv2012R2.VHDWriteBytesSec.Rule" Target="QND.HyperV.2012R2.VirtualDrive" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Perf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type='QND.Hyperv.2012R2.VM']/HostName$</ComputerName>
<CounterName>Write Bytes/sec</CounterName>
<ObjectName>Hyper-V Virtual Storage Device</ObjectName>
<InstanceName>$Target/Property[Type='QND.HyperV.VMHardwareComponent']/PerfInstance$</InstanceName>
<Frequency>300</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>10</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
<WriteAction ID="CollectToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
</WriteActions>
</Rule>
<Rule ID="QND.Hyperv2012R2.VMMemoryPressure.Rule" Target="QND.Hyperv.2012R2.VM" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Perf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Property[Type='QND.Hyperv.2012R2.VM']/HostName$</ComputerName>
<CounterName>Average Pressure</CounterName>
<ObjectName>Hyper-V Dynamic Memory VM</ObjectName>
<InstanceName>$Target/Property[Type='QND.Hyperv.2012R2.VM']/VirtualMachineName$</InstanceName>
<Frequency>300</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>10</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
<WriteAction ID="CollectToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
</WriteActions>
</Rule>
<Rule ID="QND.Hyperv2012R2.vNicBytesRcvPerSec.Rule" Target="QND.HyperV.2012R2.VirtualNetworkAdapter" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Perf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type='QND.Hyperv.2012R2.VM']/HostName$</ComputerName>
<CounterName>Bytes Received/sec</CounterName>
<ObjectName>Hyper-V Virtual Network Adapter</ObjectName>
<InstanceName>$Target/Property[Type='QND.HyperV.VMHardwareComponent']/PerfInstance$</InstanceName>
<Frequency>300</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>10</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
<WriteAction ID="CollectToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
</WriteActions>
</Rule>
<Rule ID="QND.Hyperv2012R2.VHDNormIOPS.Rule" Target="QND.HyperV.2012R2.VirtualDrive" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Perf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type='QND.Hyperv.2012R2.VM']/HostName$</ComputerName>
<CounterName>Normalized Throughput</CounterName>
<ObjectName>Hyper-V Virtual Storage Device</ObjectName>
<InstanceName>$Target/Property[Type='QND.HyperV.VMHardwareComponent']/PerfInstance$</InstanceName>
<Frequency>300</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>10</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
<WriteAction ID="CollectToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
</WriteActions>
</Rule>
<Rule ID="QND.Hyperv2012R2.VHDReadBytesSec.Rule" Target="QND.HyperV.2012R2.VirtualDrive" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Perf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type='QND.Hyperv.2012R2.VM']/HostName$</ComputerName>
<CounterName>Read Bytes/sec</CounterName>
<ObjectName>Hyper-V Virtual Storage Device</ObjectName>
<InstanceName>$Target/Property[Type='QND.HyperV.VMHardwareComponent']/PerfInstance$</InstanceName>
<Frequency>300</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>10</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
<WriteAction ID="CollectToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
</WriteActions>
</Rule>
<Rule ID="QND.Hyperv2012R2.vCoreTotalRunTime.Rule" Target="QND.Hyperv.2012R2.VM" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Perf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Property[Type='QND.Hyperv.2012R2.VM']/HostName$</ComputerName>
<CounterName>% Total Run Time</CounterName>
<ObjectName>Hyper-V Hypervisor Virtual Processor</ObjectName>
<InstanceName />
<AllInstances>true</AllInstances>
<Frequency>120</Frequency>
<Tolerance>0</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>1</MaximumSampleSeparation>
</DataSource>
</DataSources>
<ConditionDetection ID="CD" TypeID="QND.Hyperv.2012R2.PerfAvgAndFilter">
<NumSamples>5</NumSamples>
<InstanceFilter>$Target/Property[Type='QND.Hyperv.2012R2.VM']/VirtualMachineName$:Hv VP [0-9]+</InstanceFilter>
</ConditionDetection>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
<WriteAction ID="CollectToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
</WriteActions>
</Rule>
<Rule ID="QND.Hyperv2012R2.VMMemory.Rule" Target="QND.Hyperv.2012R2.VM" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Perf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Property[Type='QND.Hyperv.2012R2.VM']/HostName$</ComputerName>
<CounterName>Physical Memory</CounterName>
<ObjectName>Hyper-V Dynamic Memory VM</ObjectName>
<InstanceName>$Target/Property[Type='QND.Hyperv.2012R2.VM']/VirtualMachineName$</InstanceName>
<Frequency>1800</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>4</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
<WriteAction ID="CollectToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
</WriteActions>
</Rule>
<Rule ID="QND.Hyperv2012R2.vNicBytesSntPerSec.Rule" Target="QND.HyperV.2012R2.VirtualNetworkAdapter" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Perf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type='QND.Hyperv.2012R2.VM']/HostName$</ComputerName>
<CounterName>Bytes Sent/sec</CounterName>
<ObjectName>Hyper-V Virtual Network Adapter</ObjectName>
<InstanceName>$Target/Property[Type='QND.HyperV.VMHardwareComponent']/PerfInstance$</InstanceName>
<Frequency>300</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>10</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
<WriteAction ID="CollectToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
</WriteActions>
</Rule>
</Rules>
</Monitoring>
<LanguagePacks>
<LanguagePack ID="ENU" IsDefault="true">
<DisplayStrings>
<DisplayString ElementID="QND.Hyperv2012R2.VHDWriteBytesSec.Rule">
<Name>Hyper-V - VHD Write Bytes per sec</Name>
<Description>Collects Bytes Written Per second</Description>
</DisplayString>
<DisplayString ElementID="QND.Hyperv2012R2.VMMemoryPressure.Rule">
<Name>Hyper-V - VM Memory Average Pressure</Name>
<Description>Collects Dyanmic memory average pressure</Description>
</DisplayString>
<DisplayString ElementID="QND.Hyperv2012R2.vNicBytesRcvPerSec.Rule">
<Name>Hyper-V - vNIC Bytes Received Per Second</Name>
<Description>Collects Bytes Received Per second</Description>
</DisplayString>
<DisplayString ElementID="QND.Hyperv2012R2.VHDNormIOPS.Rule">
<Name>Hyper-V - VHD Normalized IOps</Name>
<Description>Collects Normalized IOps</Description>
</DisplayString>
<DisplayString ElementID="QND.Hyperv2012R2.VHDReadBytesSec.Rule">
<Name>Hyper-V - VHD Read Bytes per sec</Name>
<Description>Collects Bytes Read Per second</Description>
</DisplayString>
<DisplayString ElementID="QND.Hyperv2012R2.vCoreTotalRunTime.Rule">
<Name>Hyper-V - vCore % runtime</Name>
<Description>Collects vCore Usage Percentage</Description>
</DisplayString>
<DisplayString ElementID="QND.Hyperv2012R2.VMMemory.Rule">
<Name>Hyper-V - VM Memory (MB)</Name>
<Description>Collects assigned memory in MB</Description>
</DisplayString>
<DisplayString ElementID="QND.Hyperv2012R2.vNicBytesSntPerSec.Rule">
<Name>Hyper-V - vNIC Bytes Sent Per Second</Name>
<Description>Collects Bytes Received Per second</Description>
</DisplayString>
</DisplayStrings>
</LanguagePack>
</LanguagePacks>
</ManagementPackFragment>