此规则收集 Apache HTTP 服务器的当前繁忙辅助进程百分比
此规则收集 managed Apache HTTP Server\Pct busy workers 性能计数器的性能数据。在性能视图和报表中可以访问收集的值。
此指标显示繁忙 Apache HTTP 服务器辅助进程与所有 Apache 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 | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.ApacheHTTPServer.ManagedServer.Unix.PctBusyWorkers.Collection" Target="Microsoft.ApacheHTTPServer.ManagedServer.Unix" Remotable="true" Enabled="onStandardMonitoring">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Oss!Microsoft.Oss.WSMan.PerfCounterProvider">
<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_HTTPDServerStatistics?__cimnamespace=root/apache</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<ObjectName>Apache HTTP Server</ObjectName>
<CounterName>Pct Busy Workers</CounterName>
<InstanceName>$Data/WsManData/*[local-name(.)='Apache_HTTPDServerStatistics']/*[local-name(.)='InstanceID']$</InstanceName>
<Value>$Data/WsManData/*[local-name(.)='Apache_HTTPDServerStatistics']/*[local-name(.)='PctBusyWorkers']$</Value>
<PreMapperFilter>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">/DataItem/WsManData/*[local-name(.)='Apache_HTTPDServerStatistics']/*[local-name(.)='PctBusyWorkers']</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^.+</Pattern>
</RegExExpression>
</PreMapperFilter>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>