Apache 虛擬主機 Web 回應時間總計收集

Microsoft.ApacheHTTPServer.VirtualHost.Unix.TotalResponseTime.Collection (Rule)

這項規則會收集 Apache 虛擬主機 (網站) 之遠端 Web 要求的基礎頁面回應時間總計。

Knowledge Base article:

摘要

這項規則會收集 Apache 虛擬主機\Web 要求回應時間總計效能計數器的效能資料。您可以在效能檢視和報表中存取收集的值。

這個標準會公開對 Apache 網站提出之遠端 HTTP 要求的回應時間總計 (以秒為單位)。

附註: 這項規則預設為停用。請使用覆寫加以啟用,並確認在啟用監視時,URL、Proxy 設定、閾值和驗證都正確。

Element properties:

TargetMicrosoft.ApacheHTTPServer.VirtualHost.Unix
CategoryPerformanceCollection
EnabledFalse
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DataSource DataSource Microsoft.ApacheHTTPServer.URLProbe.DataSource Default
PerfMapper ConditionDetection Microsoft.SystemCenter.WebApplication.Request.PerformanceMapper Default
WriteAction WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteActionDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.ApacheHTTPServer.VirtualHost.Unix.TotalResponseTime.Collection" Enabled="false" Target="Microsoft.ApacheHTTPServer.VirtualHost.Unix" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DataSource" TypeID="Microsoft.ApacheHTTPServer.URLProbe.DataSource">
<Interval>300</Interval>
<URL>http://$Target/Property[Type="Microsoft.ApacheHTTPServer.VirtualHost"]/ServerName$</URL>
<Proxy/>
<ProxyUserName/>
<ProxyPassword/>
<ProxyAuthenticationScheme>None</ProxyAuthenticationScheme>
<CredentialUserName/>
<CredentialPassword/>
<AuthenticationScheme>None</AuthenticationScheme>
<RetryCount>1</RetryCount>
<RequestTimeout>120</RequestTimeout>
</DataSource>
</DataSources>
<ConditionDetection ID="PerfMapper" TypeID="WebApp!Microsoft.SystemCenter.WebApplication.Request.PerformanceMapper">
<RequestID>1</RequestID>
<ObjectName>Apache Virtual Host</ObjectName>
<CounterName>Web Request Total Response Time</CounterName>
<InstanceName>$Data/RequestResults/RequestResult[@Id="1"]/BasePageData/RequestUrl$</InstanceName>
<Value>$Data/RequestResults/RequestResult[@Id="1"]/BasePageData/TotalResponseTime$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteAction" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteActionDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>