Apache Virtual Host Web Request Total Response Time

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

Apache Virtual Host Web Request Total Response Time Monitor

Knowledge Base article:

Summary

This monitor ensures that the response time of a remote HTTP requests to an Apache Virtual Host is within the expected range.

Causes

An unhealthy state for this monitor indicates that the response time for the Virtual Host is slow.

Some of the problems that could affect the state of this monitor are the following:

Resolutions

Confirm that the configuration of the monitor is appropriate for the virtual host. Review the alert context for detailed data about the request. Investigate performance of the website locally and from other access points.

Configuration

Default Configuration

Parameter

Default Value

URL

http://[Server Name of the Virtual Host]

Proxy

ProxyUserName

ProxyPassword

ProxyAuthenticationScheme

None

CredentialUserName

CredentialPassword

AuthenticationScheme

None

RetryCount

0

RequestTimeout

120

ResponseTimeErrorThreshold

10

ResponseTimeWarningThreshold

5

Overrides can be used to change the parameter values defined above for all instances or for specific instances or groups

Note: This monitor is disabled by default. Use an override to enable it, and confirm that the URL, proxy configuration, thresholds, and authentication are correct when enabling the monitor.

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 Total Response Time
The total response time from the remote web site exceeded the threshold.
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>