Monitor "Apache Virtual Host – Statuscode für Webanforderung"
Diese Monitor stellt sicher, dass der Operations Manager-Server mit dem Apache Virtual Host über eine Remote-HTTP-Anforderung kommunizieren kann.
Ein fehlerhafter Status für diesen Monitor signalisiert Probleme mit der Apache HTTP Server-Kommunikation.
Die folgenden Probleme könnten den Status dieses Monitors beeinflussen:
Der Virtual Host oder Apache HTTP Server ist nicht online.
Der Port wird durch eine Firewall blockiert.
Die Anmeldeinformationen für den Zugriff auf den Apache HTTP Server sind ungültig.
Prüfen Sie, ob die Konfiguration des Monitors für den Virtual Host angemessen ist. Prüfen Sie, ob der Apache HTTP Server ausgeführt wird. Vergewissern Sie sich, dass der Zugriff nicht durch eine Firewall blockiert wird und die relevanten Benutzeranmeldeinformationen dem ausführenden Konto zur Verfügung gestellt wurden.
Um die Verbindung zum Apache HTTP Server manuell zu prüfen, öffnen Sie einen Browser, und stellen Sie eine Verbindung zur gehosteten Webseite her.
Standardkonfiguration
Parameter | Standardwert |
URL | http://[Servername des Virtual Host] |
Proxy | |
ProxyUserName | |
ProxyPassword | |
ProxyAuthenticationScheme | None |
CredentialUserName | |
CredentialPassword | |
AuthenticationScheme | None |
RetryCount | 0 |
RequestTimeout | 120 |
StatusCodeThreshold | 400 |
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 und Authentifizierung korrekt sind, wenn Sie den Monitor aktivieren.
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>