SQL 2012 代理作业上次运行状态监视器。监视 SQL 代理作业上次运行的状态。
SQL 2012 代理作业上次运行状态监视器。监视 SQL 代理作业上次运行的状态。
IntervalSeconds (秒)默认值为 600。
Target | Microsoft.SQLServer.2012.AgentJob |
Parent Monitor | System.Health.AvailabilityState |
Category | AvailabilityHealth |
Enabled | True |
Alert Generate | False |
Alert Auto Resolve | True |
Monitor Type | Microsoft.SQLServer.2012.AgentJobLastRunProvider |
Remotable | True |
Accessibility | Public |
RunAs | Default |
<UnitMonitor ID="Microsoft.SQLServer.2012.AgentJob.JobLastRunState" Accessibility="Public" Enabled="true" Target="SQL2012Core!Microsoft.SQLServer.2012.AgentJob" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2012.AgentJobLastRunProvider" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<OperationalStates>
<OperationalState ID="LastRunSucceeded" MonitorTypeStateID="LastRunSucceeded" HealthState="Success"/>
<OperationalState ID="LastRunFailed" MonitorTypeStateID="LastRunFailed" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>600</IntervalSeconds>
<SyncTime/>
<ConnectionString>$Target/Host/Host/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ConnectionString$</ConnectionString>
<JobID>$Target/Property[Type="SQL!Microsoft.SQLServer.AgentJob"]/JobID$</JobID>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>