작업 기간

Microsoft.SQLServer.2008.AgentJob.JobDuration (UnitMonitor)

에이전트 작업 기간을 모니터링합니다.
SQL Server 에이전트 Windows 서비스는 모든 버전의 SQL Server Express에서 지원되지 않습니다. 적절한 검색된 개체가 없습니다.

Knowledge Base article:

요약

SQL 2008 에이전트 작업 기간 모니터입니다. 에이전트 작업 기간을 모니터링합니다.

구성

재정의 가능한 매개 변수

이름

설명

기본값

사용

워크플로를 사용하거나 사용하지 않도록 설정합니다.

경고 생성

워크플로가 알림을 생성하는지를 정의합니다.

아니요

간격(초)

이 모니터는 스크립트를 사용하여 장기 실행 작업에 대한 모니터링을 수행합니다. 빈도는 해당 스크립트의 실행 간격(초)입니다.

600

하한 임계값(분)

이 모니터의 하한 임계값(분)입니다. 기본적으로 이 임계값을 초과하면 모니터가 경고 상태로 변경됩니다.

60

동기화 시간

24시간 형식으로 지정된 동기화 시간입니다. 생략될 수 있습니다.

 

제한 시간(초)

스크립트를 실행하는 시간(초)입니다.

300

상한 임계값(분)

이 모니터의 하한 임계값(분)입니다. 기본적으로 이 임계값을 초과하면 모니터가 위험 상태로 변경됩니다. 이 임계값과 하한 임계값 사이(경계 포함)에서는 모니터가 경고 상태로 유지(기본값)됩니다.

120

Element properties:

TargetMicrosoft.SQLServer.2008.AgentJob
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2008.AgentLongRunningJobsProviderPerJob
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2008.AgentJob.JobDuration" Accessibility="Public" Enabled="true" Target="SQL2008Core!Microsoft.SQLServer.2008.AgentJob" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2008.AgentLongRunningJobsProviderPerJob" ConfirmDelivery="false">
<Category>PerformanceCollection</Category>
<OperationalStates>
<OperationalState ID="UnderThreshold1" MonitorTypeStateID="UnderThreshold1" HealthState="Success"/>
<OperationalState ID="OverThreshold1UnderThreshold2" MonitorTypeStateID="OverThreshold1UnderThreshold2" HealthState="Warning"/>
<OperationalState ID="OverThreshold2" MonitorTypeStateID="OverThreshold2" HealthState="Error"/>
</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>
<Threshold1>60</Threshold1>
<Threshold2>120</Threshold2>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>