Recopilación de kilobytes por solicitud del servidor HTTP de Apache

Microsoft.ApacheHTTPServer.ManagedServer.Unix.KBPerRequest.Collection (Rule)

Esta regla recopila el total de kilobytes por solicitud del servidor HTTP de Apache

Knowledge Base article:

Resumen

Esta regla recopila datos de rendimiento del servidor HTTP administrado de Apache\Contador de rendimiento de kB por solicitud. Los valores recopilados están accesibles en las vistas y los informes de rendimiento.

Esta métrica expone la cantidad total promedio de‏ datos (kilobytes) que el servidor HTTP de Apache transfirió por solicitud.

El valor devuelto por el agente se calcula dividiendo el aumento en los kB totales transferidos en un intervalo por el número de solicitudes en el intervalo.

Element properties:

TargetMicrosoft.ApacheHTTPServer.ManagedServer.Unix
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Microsoft.ApacheHTTPServer.ManagedServer.Unix.KBPerRequest.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>KB per Request</CounterName>
<InstanceName>_Total</InstanceName>
<InstanceProperty>/DataItem/WsManData/*[local-name(.)='Apache_HTTPDVirtualHostStatistics']/*[local-name(.)='InstanceID']</InstanceProperty>
<Value>$Data/WsManData/*[local-name(.)='Apache_HTTPDVirtualHostStatistics']/*[local-name(.)='KBPerRequest']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>