應用程式類別目錄 IIS 設定監視

Microsoft.SystemCenter2012.ConfigurationManager.PortalWebSite.IIS.ConfigurationMonitor (UnitMonitor)

此監視會檢查 Configuration Manager 之應用程式類別目錄伺服器角色的 IIS 設定是否正確。

Knowledge Base article:

摘要

Web 服務控制管理員會定期設定及驗證應用程式類別目錄網站點的組態設定。 如果設定失敗,便會產生警示。

原因

由於檔案權限受限,導致應用程式類別目錄網站的 web.config 檔案無法存取。

web.config 檔案損毀。

解決方式

重新安裝應用程式類別目錄網站點角色。

Element properties:

TargetMicrosoft.SystemCenter2012.ConfigurationManager.PortalWebSite
Parent MonitorMicrosoft.SystemCenter2012.ConfigurationManager.RoleAggregateMonitor
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter2012.ConfigurationManager.StatusMessage2StateMonitor
RemotableTrue
AccessibilityPublic
Alert Message
應用程式類別目錄 IIS 未正確設定
電腦 {0} 上的應用程式類別目錄 IIS 網頁伺服器未正確設定。
RunAsDefault
CommentSIV:SWD0002

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter2012.ConfigurationManager.PortalWebSite.IIS.ConfigurationMonitor" Comment="SIV:SWD0002" Accessibility="Public" Enabled="onEssentialMonitoring" Target="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.PortalWebSite" ParentMonitorID="Microsoft.SystemCenter2012.ConfigurationManager.RoleAggregateMonitor" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter2012.ConfigurationManager.StatusMessage2StateMonitor" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter2012.ConfigurationManager.PortalWebSite.IIS.ConfigurationMonitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="AutoGeneratedByMyFriend668e634744bb4127bd29c6502b723577" MonitorTypeStateID="Good" HealthState="Success"/>
<OperationalState ID="AutoGeneratedByMyFriend792ab8c0655f4e868b0b39d2370153e2" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ComponentName>SMS_PORTALWEB_CONTROL_MANAGER</ComponentName>
<RuleId>4A06F831-B577-4C10-8643-8C577C2C22B3</RuleId>
<IntervalSeconds>360</IntervalSeconds>
</Configuration>
</UnitMonitor>