錯誤,工作失敗。
執行定期維護工作時發生監視器錯誤。做法是定期檢查事件記錄檔中是否有此事件。
如果這個監視器處於錯誤狀態,則 SQL Server 或對應的資料庫無法供報告此錯誤的網站存取。或其中有設定錯誤。
檢查 SQL Server 及目標 db 是否可供呼叫網站存取。如需正確的設定步驟,請視需要使用《Windows Azure 套件設定指南》。
這個監視器若要正常運作,它必須有權讀取事件記錄檔。
選項 | 定義 | 預設值 |
狀態警示 | 產生警示之監視器的健全狀況狀態。 | 監視器的健全狀況狀態處於嚴重狀態 |
警示優先順序 | 針對這個監視器產生之警示的優先順序。 | 高 |
警示嚴重性 | 針對這個監視器產生之警示的優先順序。 | 重大 |
自動解決警示 | 指定當監視器回到狀況良好的狀態時是否應自動解決警示。 | True |
啟用 | 指定是否應執行監視器。 | True |
產生警示 | 指定從警告狀態變成嚴重狀態時,監視器是否應產生警示。 | True |
間隔 | 監視器執行次數之間的分鐘數。 | 180 |
Target | WindowsAzurePack.TenantAPI | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | WindowsAzurePack.MonitorType.CustomSingleEventLogTimer2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default | ||
Comment | WAP Monitor Event for Machine |
<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>