Windows Azure パック ジョブ実行失敗モニター TenantAPI

WindowsAzurePack.Monitor.JobExecutionFailed.TenantAPI (UnitMonitor)

エラーです。ジョブが失敗しました。

Knowledge Base article:

概要

定期的なメンテナンス ジョブを実行しているときに、エラーを監視します。これを行うには、このイベントを定期的にイベント ログで確認します。

原因

モニターがエラー状態の場合は、SQL Server または対応するデータベースはこのエラーを報告しているサイトにアクセスできないか、または正しく構成されていません。

解決策

SQL Server とターゲット データベースが呼び出し側サイトにアクセスできることを確認してください。必要な場合は 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>