Statusmonitor MySQL-server
De MySQL-server werkt niet of de bewakingsmodule is niet bereikbaar.
De MySQL-server is mogelijk gestopt of vastgelopen of de provider is mogelijk verwijderd.
Als de MySQL-server niet wordt uitgevoerd, start u de MySQL-server opnieuw. Als de server wordt uitgevoerd, controleert u of de werkingsstatus van de server niet verslechterd of onbereikbaar is. Zorg ook dat de referenties voor MySQL zijn ingesteld met de taak in het management pack of via het meegeleverde opdrachtregelprogramma voor MySQL-verificatie.
Target | Microsoft.MySQLServer.ManagedServer.Unix | ||
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.Oss.WSMan.Status.Filtered.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.MySQLServer.ManagedServer.Unix.ServerStatus.Monitor" Accessibility="Public" Target="Microsoft.MySQLServer.ManagedServer.Unix" TypeID="Oss!Microsoft.Oss.WSMan.Status.Filtered.MonitorType" Enabled="onStandardMonitoring" ParentMonitorID="Health!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.MySQLServer.ManagedServer.Unix.ServerStatus.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/WsManData/*[local-name(.)='MySQL_Server']/*[local-name(.)='InstanceID']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="StatusOK" ID="StatusOK"/>
<OperationalState HealthState="Error" MonitorTypeStateID="StatusFailed" ID="StatusFailed"/>
</OperationalStates>
<Configuration>
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/MySQL_Server?__cimnamespace=root/mysql</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>300</Interval>
<InstanceName>$Target/Property[Type="Microsoft.MySQLServer.Installation"]/InstanceID$</InstanceName>
<InstanceProperty>/DataItem/WsManData/*[local-name(.)='MySQL_Server']/*[local-name(.)='ProductIdentifyingNumber']</InstanceProperty>
<Status>/DataItem/WsManData/*[local-name(.)='MySQL_Server']/*[local-name(.)='OperatingStatus']</Status>
<ExpectedStatus>OK</ExpectedStatus>
</Configuration>
</UnitMonitor>