這項規則會收集 Apache HTTP Server 的每分鐘伺服器錯誤總數 (狀態碼 500-599)
這項規則會收集受管理 Apache HTTP Server\每分鐘錯誤數 - 伺服器效能計數器的效能資料。您可以在效能檢視和報表中存取收集的值。
此標準會顯示一分鐘內導致 HTTP 用戶端錯誤狀態 (500-599 狀態碼) 的平均要求數。
代理程式傳回的值是將監視間隔內導致 HTTP 伺服器錯誤狀態的要求數增量,除以間隔分鐘數計算而得。
Target | Microsoft.ApacheHTTPServer.ManagedServer.Unix |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Oss.WSMan.PerfCounterProvider.Filtered.TimedEnumerator | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.ApacheHTTPServer.ManagedServer.Unix.ErrorsPerMinute500.Collection" Target="Microsoft.ApacheHTTPServer.ManagedServer.Unix" Remotable="true" Enabled="onStandardMonitoring">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Oss!Microsoft.Oss.WSMan.PerfCounterProvider.Filtered.TimedEnumerator">
<Interval>300</Interval>
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/Apache_HTTPDVirtualHostStatistics?__cimnamespace=root/apache</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<ObjectName>Apache HTTP Server</ObjectName>
<CounterName>Errors per Minute - Server</CounterName>
<InstanceName>_Total</InstanceName>
<InstanceProperty>/DataItem/WsManData/*[local-name(.)='Apache_HTTPDVirtualHostStatistics']/*[local-name(.)='InstanceID']</InstanceProperty>
<Value>$Data/WsManData/*[local-name(.)='Apache_HTTPDVirtualHostStatistics']/*[local-name(.)='ErrorsPerMinute500']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>