Windows Azure 팩 작업 실행 실패 모니터 테넌트 API

WindowsAzurePack.Monitor.JobExecutionFailed.TenantAPI (UnitMonitor)

오류: 작업이 실패했습니다.

Knowledge Base article:

요약

정기적인 유지 관리 작업을 실행할 때 오류를 모니터링합니다. 이 작업은 이벤트 로그에서 이 이벤트를 정기적으로 확인하여 수행됩니다.

원인

모니터 중 오류가 발생하면 이 오류를 보고하는 사이트에 SQL Server 또는 해당 데이터베이스가 액세스할 수 없습니다. 또는 구성이 잘못되었습니다.

해결 방법

SQL Server 및 대상 DB가 호출 사이트에 액세스할 수 있는지 확인합니다. 필요한 경우 Windows Azure 팩 가이드를 사용해서 올바른 구성 단계를 확인합니다.

구성

이 모니터가 제대로 작동하도록 하려면 이벤트 로그를 읽을 권한이 있어야 합니다.

옵션

정의

기본

경고 상태

경고를 생성하는 모니터의 성능 상태입니다.

모니터가 중요한 성능 상태입니다.

경고 우선 순위

이 모니터에 대해 생성된 경고의 우선 순위입니다.

높음

경고 심각도

이 모니터에 대해 생성된 경고의 우선 순위입니다.

중요

경고 자동 해결

모니터가 성능 상태로 돌아갈 때 경고를 자동으로 해결해야 하는지 여부를 지정합니다.

True

사용

모니터를 실행해야 하는지 여부를 지정합니다.

True

경고 생성

경고 또는 중요 상태로 변경될 때 모니터에서 경고를 생성해야 하는지 여부를 지정합니다.

True

간격

모니터가 실행되는 분 단위 시간 간격입니다.

180

Element properties:

TargetWindowsAzurePack.TenantAPI
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeWindowsAzurePack.MonitorType.CustomSingleEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
오류: Windows Azure 팩 작업 실행 실패 경고
오류: 작업이 실패했습니다. 자세한 내용은 이벤트 로그 이벤트 설명을 참조하십시오.
RunAsDefault
CommentWAP Monitor Event for Machine

Source Code:

<UnitMonitor ID="WindowsAzurePack.Monitor.JobExecutionFailed.TenantAPI" Accessibility="Public" Enabled="true" Target="WindowsAzurePack.TenantAPI" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="WindowsAzurePack.MonitorType.CustomSingleEventLogTimer2StateMonitorType" ConfirmDelivery="false" Comment="WAP Monitor Event for Machine">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="WindowsAzurePack.Monitor.JobExecutionFailed.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ErrorEventRaised" MonitorTypeStateID="EventRaised" HealthState="Error"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<!-- Computer name for the first event. We will use a variable to get the target computer name. -->
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<!-- Name of the log containing the first event. -->
<LogName>Microsoft-WindowsAzurePack-MgmtSvc-TenantAPI/Operational</LogName>
<!-- Expression for the first event -->
<Expression>
<And>
<!-- Expression for the first event number -->
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">262</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<!-- Expression for the first event source -->
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-WindowsAzurePack-MgmtSvc-TenantAPI</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<TimerWaitInSeconds>10800</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>