Monitoruje łączność między serwerem Runbook Worker a bazą danych.
Monitoruje łączność bazy danych z serwerów Runbook Worker. Jest to wykonywane przez okresowe nawiązywanie połączenia testowego z bazą danych Service Management Automation.
Gdy ten monitor jest w stanie błędu, baza danych nie jest dostępna na serwerze lub zabezpieczenia monitora nie są skonfigurowane. Szczegółowe informacje dotyczące konfigurowania monitora można znaleźć w części Konfiguracja.
Jeśli monitor jest skonfigurowany poprawnie, a mimo tego występuje w nim błąd, oznacza to, że baza danych jest w trybie offline lub serwer bazy danych jest niedostępny dla serwera programu Service Management Automation.
Sprawdź stan bazy danych programu Service Management Automation oraz serwera bazy danych.
Aby ten monitor działał prawidłowo, musi on mieć uprawnienia do odczytu bazy danych programu Service Management Automation. Utwórz konto Uruchom jako z uprawnieniami do odczytu bazy danych i dodaj je do profilu Uruchom jako o nazwie Konto bazy danych programu Microsoft Service Management Automation.
Można skonfigurować następujące opcje tego monitora:
Opcja | Definicja | Domyślne |
Alert na podstawie stanu | Stan kondycji monitora generującego alert. | Monitor wskazuje krytyczny stan kondycji |
Priorytet alertu | Priorytet alertu generowanego dla tego monitora. | Średni |
Ważność alertu | Priorytet alertu generowanego dla tego monitora. | Krytyczny |
Automatyczne rozwiązywanie alertu | Określa, czy alert powinien zostać rozwiązany automatycznie po powrocie monitora do stanu prawidłowego. | Prawda |
Włączone | Określa, czy monitor powinien zostać uruchomiony. | Prawda |
Generuje alert | Określa, czy monitor powinien generować alert po przejściu w stan ostrzeżenia lub w stan krytyczny. | Prawda |
Interwał | Liczba sekund między okresami uruchomienia monitora. | 300 |
Target | Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Server.Worker | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.MonitorType.DatabaseConnection | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Monitor.DatabaseConnectionWorker" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Server.Worker" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.MonitorType.DatabaseConnection" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Monitor.DatabaseConnectionWorker.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ConnectionFailure" MonitorTypeStateID="ConnectionFailure" HealthState="Error"/>
<OperationalState ID="NoConnectionFailure" MonitorTypeStateID="NoConnectionFailure" HealthState="Success"/>
</OperationalStates>
<Configuration>
<Interval>300</Interval>
<DatabaseServer>$Target/Property[Type="SMA!Microsoft.SystemCenter.ServiceManagementAutomation.Server"]/DatabaseServerName$</DatabaseServer>
<DatabaseInstance>$Target/Property[Type="SMA!Microsoft.SystemCenter.ServiceManagementAutomation.Server"]/DatabaseServerInstance$</DatabaseInstance>
<DatabaseName>$Target/Property[Type="SMA!Microsoft.SystemCenter.ServiceManagementAutomation.Server"]/DatabaseName$</DatabaseName>
</Configuration>
</UnitMonitor>