Windows Azure パック使用量サイト構成エラー モニター

WindowsAzurePack.Monitor.ConfigurationError.Usage (UnitMonitor)

エラーです。構成値が null または空です。

Knowledge Base article:

概要

構成値エラー イベント 239 の発生を確認します。

原因

モニターの状態がエラーの場合は、イベント ログで指定した構成値が null、空、または無効です。

解決策

イベント 239 で影響を受けるサイトのイベント ログを確認し、どの構成値に対応する必要があるかを特定してください。正しい値が不明な場合は Windows Azure パック展開ガイドを確認してください。

構成

このモニターが適切に機能するには、イベント ログへのアクセス許可が必要です。場合によっては、適切なアクセス許可があるアカウントが必要となります。

このモニターでは、次のオプションを構成できます。

オプション

定義

既定

アラート状態

アラートが生成されているモニターのヘルス状態です。

モニターのヘルスは重大な状態です

アラートの優先度

このモニターについて生成されているアラートの優先度です。

アラートの重要度

このモニターについて生成されているアラートの優先度です。

重大

アラートの自動解決

モニターが正常な状態に戻るときにアラートを自動的に解決する必要があるかどうかを指定します。

True

有効

モニターを実行する必要があるかどうかを指定します。

True

アラートの生成

モニターのヘルス状態が警告または重大に変わるときにアラートを生成する必要があるかどうかを指定します。

True

間隔

モニター実行後から次回のモニター実行までの秒数です。

300

Element properties:

TargetWindowsAzurePack.Usage
Parent MonitorSystem.Health.ConfigurationState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeWindowsAzurePack.MonitorType.CustomSingleEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
エラー: Windows Azure パック使用量サイト構成エラー アラート
エラー: 構成値が null または空です。イベント 239。詳細については、イベント ログのイベントの説明を参照してください。
RunAsDefault
CommentWAP Monitor Event for Usage

Source Code:

<UnitMonitor ID="WindowsAzurePack.Monitor.ConfigurationError.Usage" Accessibility="Public" Enabled="true" Target="WindowsAzurePack.Usage" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="WindowsAzurePack.MonitorType.CustomSingleEventLogTimer2StateMonitorType" ConfirmDelivery="false" Comment="WAP Monitor Event for Usage">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="WindowsAzurePack.Monitor.ConfigurationError.Usage.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-Usage/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">239</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-Usage</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<TimerWaitInSeconds>10800</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>