OpsMgr 인증서가 만료될 예정인 경우 경고를 표시하는 규칙
이 경고는 OpsMgr 인증서가 만료될 예정임을 나타냅니다.
OpsMgr 인증서가 만료될 예정입니다.
새 OpsMgr 인증서를 가져옵니다.
Target | Microsoft.Windows.Computer | ||
Category | Alert | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | High | ||
Remotable | False | ||
Alert Message |
|
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DataSource | DataSource | Microsoft.SystemCenter.SCOM.Certificate.Expiry.DataSourceModule | Default |
CD | ConditionDetection | System.ExpressionFilter | Default |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.SystemCenter.SCOM.Certificate.Expiry" Target="Windows!Microsoft.Windows.Computer" Enabled="false" ConfirmDelivery="true" Priority="Normal" DiscardLevel="100" Remotable="false">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DataSource" TypeID="Microsoft.SystemCenter.SCOM.Certificate.Expiry.DataSourceModule">
<TimeoutSeconds>600</TimeoutSeconds>
<AlertBeforeNumDays>7</AlertBeforeNumDays>
<IntervalSeconds>86400</IntervalSeconds>
</DataSource>
</DataSources>
<ConditionDetection ID="CD" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Property[@Name='GenerateAlert']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Boolean">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>2</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.SCOM.Certificate.Expiry.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Property[@Name="ExpiryDays"]$</AlertParameter1>
</AlertParameters>
</WriteAction>
</WriteActions>
</Rule>