Synchronize alert attachment rule

Microsoft.SystemCenter.AlertAttachment.SynchronizeAlerts.Rule (Rule)

This rule links new attachment alerts with their attachments on the file share.

Knowledge Base article:

Summary

This rule links new attachment alerts with their attachments on the file share.

Element properties:

TargetMicrosoft.SystemCenter.AlertAttachment.AlertAttachmentFileShare
CategoryCustom
EnabledTrue
Alert GenerateFalse
RemotableTrue
CommentThis rule synchronizes new attachment alert with attachments

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.AlertAttachment.SynchronizeAlerts.DataSource Default
WA WriteAction Microsoft.SystemCenter.AlertAttachment.SynchronizeAlerts.WriteAction Default

Source Code:

<Rule ID="Microsoft.SystemCenter.AlertAttachment.SynchronizeAlerts.Rule" Comment="This rule synchronizes new attachment alert with attachments" Enabled="true" Target="Microsoft.SystemCenter.AlertAttachment.AlertAttachmentFileShare" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="1">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SystemCenter.AlertAttachment.SynchronizeAlerts.DataSource">
<ExpirationStartTime>2005-01-01T00:00Z</ExpirationStartTime>
<PollingIntervalMinutes>3</PollingIntervalMinutes>
<LanguageCode>ENU</LanguageCode>
<BatchSize>1000</BatchSize>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.SystemCenter.AlertAttachment.SynchronizeAlerts.WriteAction">
<AttachmentSharePath>$Target/Property[Type="Microsoft.SystemCenter.AlertAttachment.AlertAttachmentFileShare"]/Path$</AttachmentSharePath>
</WriteAction>
</WriteActions>
</Rule>