Apache Virtual Host Web Request Status Code Monitor
This monitor ensures that the Operations Manager server can communicate with the Apache Virtual Host through a remote HTTP request.
An unhealthy state for this monitor indicates some problem with communication to the Apache HTTP Server.
Some of the problems that could affect the state of this monitor are the following:
The Virtual Host or Apache HTTP Server is not online
A firewall is blocking the port.
The credentials supplied to access the Apache HTTP Server are invalid
Confirm that the configuration of the monitor is appropriate for the virtual host. Verify that the Apache HTTP Server is running. Verify there is no firewall blocking access, and the appropriate credentials have been supplied to the Run As account.
To manually verify the connection to the Apache HTTP Server, open a browser and connect to the hosted web page.
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 |
StatusCodeThreshold | 400 |
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, and authentication are correct when enabling the monitor.
Target | Microsoft.ApacheHTTPServer.VirtualHost.Unix | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.ApacheHTTPServer.VirtualHost.URLProbeStatus.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.ApacheHTTPServer.VirtualHost.URLProbeStatus.Monitor" Accessibility="Public" Target="Microsoft.ApacheHTTPServer.VirtualHost.Unix" TypeID="Microsoft.ApacheHTTPServer.VirtualHost.URLProbeStatus.MonitorType" Enabled="false" ParentMonitorID="Health!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.ApacheHTTPServer.VirtualHost.URLProbeStatus.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<!-- <AlertParameter1></AlertParameter1>-->
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="ProbeStatusSuccess" ID="ProbeStatusSuccess"/>
<OperationalState HealthState="Error" MonitorTypeStateID="ProbeStatusFailure" ID="ProbeStatusFailure"/>
</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>
<StatusCodeThreshold>400</StatusCodeThreshold>
</Configuration>
</UnitMonitor>