Apache 虛擬主機 Web 要求回應時間總計監視
這個監視會確保對 Apache 虛擬主機提出之遠端 HTTP 要求的回應時間在預期的範圍內。
這個監視的狀況不良狀態表示虛擬主機的回應時間緩慢。
可能影響這個監視之狀態的部分問題如下:
Apache HTTP Server 上的負載過高
監視伺服器和 Apache 網站之間的網路壅塞
Web 應用程式的效能緩慢
確認監視的設定適用於虛擬主機。如需要求的詳細資料,請檢閱警示內容。在本機及從其他存取點調查網站的效能。
預設設定
參數 | 預設值 |
URL | http://[虛擬主機的伺服器名稱] |
Proxy | |
ProxyUserName | |
ProxyPassword | |
ProxyAuthenticationScheme | 無 |
CredentialUserName | |
CredentialPassword | |
AuthenticationScheme | 無 |
RetryCount | 0 |
RequestTimeout | 120 |
ResponseTimeErrorThreshold | 10 |
ResponseTimeWarningThreshold | 5 |
您可以使用覆寫,針對所有執行個體或特定執行個體或群組來變更上述定義的參數值
附註: 這個監視預設為停用。請使用覆寫加以啟用,並確認在啟用監視時,URL、Proxy 設定、閾值和驗證都正確。
Target | Microsoft.ApacheHTTPServer.VirtualHost.Unix | ||
Parent Monitor | System.Health.PerformanceState | ||
Category | PerformanceHealth | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.ApacheHTTPServer.VirtualHost.URLProbeTotalResponseTime.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.ApacheHTTPServer.VirtualHost.URLProbeResponseTime.Monitor" Accessibility="Public" Target="Microsoft.ApacheHTTPServer.VirtualHost.Unix" TypeID="Microsoft.ApacheHTTPServer.VirtualHost.URLProbeTotalResponseTime.MonitorType" Enabled="false" ParentMonitorID="Health!System.Health.PerformanceState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.ApacheHTTPServer.VirtualHost.URLProbeResponseTime.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<!-- <AlertParameter1></AlertParameter1>-->
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="ProbeResponseTimeSuccess" ID="ProbeResponseTimeSuccess"/>
<OperationalState HealthState="Warning" MonitorTypeStateID="ProbeResponseTimeWarning" ID="ProbeResponseTimeWarning"/>
<OperationalState HealthState="Error" MonitorTypeStateID="ProbeResponseTimeFailure" ID="ProbeResponseTimeFailure"/>
</OperationalStates>
<Configuration>
<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>0</RetryCount>
<RequestTimeout>120</RequestTimeout>
<ResponseTimeErrorThreshold>10</ResponseTimeErrorThreshold>
<ResponseTimeWarningThreshold>5</ResponseTimeWarningThreshold>
</Configuration>
</UnitMonitor>