Apache Virtual Host – Gesamtantwortzeit für Webanforderung

Microsoft.ApacheHTTPServer.VirtualHost.URLProbeResponseTime.Monitor (UnitMonitor)

Monitor "Apache Virtual Host – Gesamtantwortzeit für Webanforderung"

Knowledge Base article:

Zusammenfassung

Dieser Monitor stellt sicher, dass die Antwortzeit einer Remote-HTTP-Anforderung an einen Apache Virtual Host innerhalb des erwarteten Bereichs liegt.

Ursachen

Ein fehlerhafter Status für diesen Monitor signalisiert, dass die Antwortzeit für den Virtual Host langsam ist.

Die folgenden Probleme könnten den Status dieses Monitors beeinflussen:

Lösungen

Prüfen Sie, ob die Konfiguration des Monitors für den Virtual Host angemessen ist. Prüfen Sie den Warnungskontext auf detaillierte Daten zur Anforderung. Prüfen Sie die Leistung der Website lokal und von anderen Zugriffspunkten.

Konfiguration

Standardkonfiguration

Parameter

Standardwert

URL

http://[Servername des Virtual Host]

Proxy

ProxyUserName

ProxyPassword

ProxyAuthenticationScheme

None

CredentialUserName

CredentialPassword

AuthenticationScheme

None

RetryCount

0

RequestTimeout

120

ResponseTimeErrorThreshold

10

ResponseTimeWarningThreshold

5

Die oben für alle Instanzen oder für eine bestimmte Instanz oder Gruppe definierten Parameterwerte können mithilfe von Außerkraftsetzungen geändert werden.

Hinweis: Dieser Monitor ist standardmäßig deaktiviert. Verwenden Sie eine Außerkraftsetzung, um ihn zu aktivieren, und bestätigen Sie, dass URL, Proxykonfiguration, Schwellenwerte und Authentifizierung korrekt sind, wenn Sie den Monitor aktivieren.

Element properties:

TargetMicrosoft.ApacheHTTPServer.VirtualHost.Unix
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.ApacheHTTPServer.VirtualHost.URLProbeTotalResponseTime.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Apache Virtual Host – Gesamtantwortzeit
Die Gesamtantwortzeit von der Remote-Website hat den Schwellenwert überschritten.
RunAsDefault

Source Code:

<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>