Apache Virtual Host Errors per Minute - Client Monitor
The amount of client server errors experienced when contacting the Apache virtual host is high. Apache HTTP Server performance may be adversely affected.
Apache 400 bad request errors are HTTP requests resulting in client errors made to the Apache virtual host.
The monitor threshold is analyzed against an average of values returned in polls to the agent where the Number of Samples parameter controls the number of samples included in the calculation of the average.
An unhealthy state indicates that the amount of bad requests made to the virtual host are currently high. The bad request could be caused by exceeding the header field limit set for the server.
To address Apache client errors on a virtual host choose one or more of the following options:
Increase the value for the Apache directive, LimitRequestFieldSize if bad requests are exceeding header field limit
Check for broken links in the web applications
Default Configuration
Parameter | Default Value |
Threshold | 10 |
Number of Samples | 3 |
Overrides can be used to change the parameter values defined above for all instances or for specific instances or groups
Target | Microsoft.ApacheHTTPServer.VirtualHost.Unix | ||
Parent Monitor | System.Health.PerformanceState | ||
Category | PerformanceHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Oss.WSMan.Performance.Average.Filtered.Threshold.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.ApacheHTTPServer.VirtualHost.Unix.ErrorsPerMinute400.Monitor" Accessibility="Public" Target="Microsoft.ApacheHTTPServer.VirtualHost.Unix" TypeID="Oss!Microsoft.Oss.WSMan.Performance.Average.Filtered.Threshold.MonitorType" ParentMonitorID="Health!System.Health.PerformanceState" Enabled="onStandardMonitoring">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.ApacheHTTPServer.VirtualHost.Unix.ErrorsPerMinute400.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="UnderThreshold" ID="UnderThreshold"/>
<OperationalState HealthState="Warning" MonitorTypeStateID="OverThreshold" ID="OverThreshold"/>
</OperationalStates>
<Configuration>
<TargetSystem>$Target/Host/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>
<Interval>300</Interval>
<ObjectName>Apache Virtual Host</ObjectName>
<CounterName>Errors per Minute 400</CounterName>
<InstanceName>$Target/Property[Type="Microsoft.ApacheHTTPServer.VirtualHost"]/InstanceID$</InstanceName>
<InstanceProperty>/DataItem/WsManData/*[local-name(.)='Apache_HTTPDVirtualHostStatistics']/*[local-name(.)='InstanceID']</InstanceProperty>
<Value>$Data/WsManData/*[local-name(.)='Apache_HTTPDVirtualHostStatistics']/*[local-name(.)='ErrorsPerMinute400']$</Value>
<Threshold>10</Threshold>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>