Force Endpoint Discovery Rule

AVIcode.DotNet.SystemCenter.InitActionByConfigUpdate.ForEndpointDiscovery (Rule)

This module reacts on configuration update event and produces event that starts endpoints discovery.

Knowledge Base article:

Summary

This module reacts on configuration update event and produces event that starts endpoints discovery.

Element properties:

TargetMicrosoft.Windows.Computer
CategoryCustom
EnabledTrue
Event_ID1201
Event SourceHealthService
Alert GenerateFalse
RemotableFalse
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
OverrideMPReceived DataSource Microsoft.Windows.EventProvider Default
GenerateUpdateEvent WriteAction AVIcode.DotNet.SystemCenter.GenerateEventWithDelay Default

Source Code:

<Rule ID="AVIcode.DotNet.SystemCenter.InitActionByConfigUpdate.ForEndpointDiscovery" Enabled="true" Target="Windows!Microsoft.Windows.Computer" ConfirmDelivery="true" Remotable="false" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="OverrideMPReceived" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>.</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1201</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">HealthService</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">EventDescription</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>New Management Pack with id:"AVIcode.DotNet.SystemCenter.Enterprise.Monitoring</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateUpdateEvent" TypeID="AVIcode.DotNet.SystemCenter.GenerateEventWithDelay">
<TimeoutSeconds>600</TimeoutSeconds>
<EventId>19981</EventId>
<EventMessage>AVIcode.DotNet.SystemCenter.Enterprise.Monitoring.Overrides management pack was updated.</EventMessage>
<EventDelay>300000</EventDelay>
</WriteAction>
</WriteActions>
</Rule>