MongoDB 服务监视器

Microsoft.AdvancedThreatAnalytics.1_8.Database.MongoDB (UnitMonitor)

此监视器监视 Microsoft ATA 1.8 数据库上的 MongoDB 服务

Knowledge Base article:

摘要

此监视器监视 Microsoft ATA 1.8 数据库 MongoDB 服务的运行状况。

原因

不同的

解决方法

在 Microsoft ATA 1.8 数据库服务器上启动 MongoDB 服务。

Element properties:

TargetMicrosoft.AdvancedThreatAnalytics.1_8.Database
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
MongoDB 服务监视器服务警报
ATA 1.8 数据库 MongoDB 服务处于停止状态。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.AdvancedThreatAnalytics.1_8.Database.MongoDB" Accessibility="Public" Enabled="true" Target="Microsoft.AdvancedThreatAnalytics.1_8.Database" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.AdvancedThreatAnalytics.1_8.Database.MongoDB.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>MongoDB</ServiceName>
<CheckStartupType/>
</Configuration>
</UnitMonitor>